<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="mtva-20260806.xsd" xlink:type="simple"/>
    <context id="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001638287</identifier>
        </entity>
        <period>
            <startDate>2026-08-06</startDate>
            <endDate>2026-08-06</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Tc_pLxHRW86sE61xqnsM2NYKw_1_1">0001638287</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Tc_CwR4VxeshkiFJawbLaVC3A_2_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Narr_RaDjq0thz0emkM4XwjLLbA">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Narr_28XEgcCxqEe63bz3MoPBUw">2026-08-06</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Narr_qn1zEHq9P0qL4uYOU5JOnA">METAVIA INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Tc_YGDjnCE72UuxapwbxhSTxg_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Tc_7sAKHgh68UiQYiCARFGPkw_1_2">001-37809</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Tc_SRwAyOJ5P0a-1-F4h8FCRg_1_4">47-2389984</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Narr_5x6QWfkxg0CMu_PhznW7zA">545 Concord Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Narr_YbuKqlyZy0eSnUE5lhewSQ">Suite 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Narr_mpnRxE7hSE-Mkt4rnx9ljA">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Narr_vfWAKZBJp0uW99cEp_fwYQ">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Tc_7icyFkk9ZEyKAMe0tZSkHA_1_2">02138</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Narr_zecCON73jU2Kvruo539GzQ">857</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Narr_xadldV6G9kizqE35_tKmPw">702-9600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Tc_3tTpfVODV0iacE-h2MNEMg_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Tc_Tc8pldDG00yUaKtTtyUeTg_2_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Tc_4XvfhkKSKE6SPDQan1c0ag_3_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Tc_ouuZTYXftE2oTEKVR_o85Q_4_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Tc_v5n8sJRK8UKfeF73Z8zvqw_2_0">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Tc_9xAs3sbpVkCX7wg5jpDy8g_2_2">MTVA</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Tc_GNd6n92ZFEmzJtTkBnXt5Q_2_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_8_6_2026_To_8_6_2026_9QuuuMFf9E-RVLSsA-0F0Q"
      id="Narr_OMJMCtqx2E-juhefd5Uw_A">false</dei:EntityEmergingGrowthCompany>
</xbrl>
