<?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-20261117.xsd" xlink:type="simple"/>
    <context id="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001638287</identifier>
        </entity>
        <period>
            <startDate>2026-11-17</startDate>
            <endDate>2026-11-17</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Tc_Dzt06v4BrE2q28Wq5KxhDQ_1_1">0001638287</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Tc_koQAF6DJZUuPtBUTBkTDTA_2_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Narr_ctZUsDEaNEKQoovRrLGyDA">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Narr_CJQ_W1dqYke-syDF7MV5WQ">2026-11-17</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Narr_KpuhZBkSVUaZ2KD6x4_zwg">METAVIA INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Tc_xqpYTq3ZGUaXjvbLfUvW5g_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Tc_DNrmcYk2lUGwkZsRlVqmuA_1_2">001-37809</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Tc_TaVW1B4rFk--J0f0EGh0xQ_1_4">47-2389984</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Narr_o3b3oB1MPkinWgpTsI2srQ">545 Concord Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Narr_dkkfHI81bkm6aIgw7J3ZYQ">Suite 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Narr_KEb5F40UxU6nkpjSiN7ycw">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Narr_Ihwhy8FdFUiIfOdK9xtFIg">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Tc_llI3Fhn-9E-6mdEyXtIfxg_1_2">02138</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Narr_L-bknIOs_USmCq8YVfiIsw">857</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Narr_EpTU9aUK6EC6AeB1bGTi4A">702-9600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Tc_CCbcv8bjW0OJkoBMKJhqtg_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Tc_mX7eXzJj10WMI4-WNcfXRg_2_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Tc_Gdv3M3O-dUKnEgIUOSxabQ_3_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Tc_Snrql7-hyk2r0ra_Q3nAgQ_4_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Tc_i01JY3j5Hk2vRQZFrE0B7A_2_0">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Tc_CDxhcmMabkGL5uojIG4hkQ_2_2">MTVA</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Tc_jsqegDcqXUiYgdVC4Ibppw_2_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_11_17_2026_To_11_17_2026_hJGqkFgRFki0H8KTuwLQ8Q"
      id="Narr_N8LlLE7mnESARpBp2CzzYw">false</dei:EntityEmergingGrowthCompany>
</xbrl>
