<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="mtva-20260527.xsd" xlink:type="simple"/>
    <context id="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001638287</identifier>
        </entity>
        <period>
            <startDate>2026-05-27</startDate>
            <endDate>2026-05-27</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Tc_WBA9s3ZVrUWuWB5TQ3kHdg_1_1">0001638287</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Tc_rjAHJGs51EyBw090OPKf6A_2_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Narr_IKsl7VGJP0GjNQPnEuORDQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Narr_4Z8AM4mA2ECJ8LX3PGHEsA">2026-05-27</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Narr_LaBTkKjDf0qGu0WsVG4rYA">METAVIA INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Tc_by-e-Vhn8UitCwooJpKRRg_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Tc_ZeE-FTH_z0O7oa2wUvaB0g_1_2">001-37809</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Tc_fvNtnnwni0-KmJ-4STxRAg_1_4">47-2389984</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Narr_KIfQ7jRc8E2EFOIf4jf7vQ">545 Concord Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Narr_ZVNMZc6ma0SnqG65C3PA5Q">Suite 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Narr_RLJV3CZyjkubD3CH95zE6Q">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Narr_J-XBtwoROkefo8INaKwpuQ">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Tc_RcY-LuiA1Ua-MwKU591Uhg_1_2">02138</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Narr_7Y0OyVGfGE-Ra7gB7vcRcQ">857</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Narr_3CbU2nl-gUOZ4gHjsogBJA">702-9600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Tc_c1xV2BMyAECkSqKB3QhoiA_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Tc_GFWc2zgVsECQsTUYW86a2Q_2_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Tc_085mzB1JXUONwFg85a3lfg_3_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Tc_3Z6oa1VaOE-XLvbRHInq-w_4_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Tc_RHy_dABnjEyLJIf_ldcO9w_2_0">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Tc_QllQI7ymxEK22pSmkabmdg_2_2">MTVA</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Tc_JQpKfQm5z0iUGl_bZHEJuQ_2_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_5_27_2026_To_5_27_2026_IH8Ytduz7Eae-3QaK7aACA"
      id="Narr_ssNjHBhiBEGM1-QQJwi6Yg">false</dei:EntityEmergingGrowthCompany>
</xbrl>
