<?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-20261013.xsd" xlink:type="simple"/>
    <context id="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001638287</identifier>
        </entity>
        <period>
            <startDate>2026-10-13</startDate>
            <endDate>2026-10-13</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Tc_TNiJjGfNhUqd80pUbpP_Wg_1_1">0001638287</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Tc_v6f9wcTqgES0J-LLyJztlg_2_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Narr_9cqKopGJH0eR0o5yKjuZyQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Narr_FUKbGOcLWE-oHo7F9fIaiA">2026-10-13</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Narr_KgnDr6IYmkqGob-nYnoL4w">METAVIA INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Tc_t-UVNNQCWE2ozk5Zg5502g_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Tc_GKCeF6xzxUitBowlBj8s0g_1_2">001-37809</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Tc_Tf7S1GZChEKs50h5oIAhBg_1_4">47-2389984</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Narr_5zXa4UDnsEaRYt2X599Iow">545 Concord Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Narr_y_S1pA3uL0m0evoETyq8Hw">Suite 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Narr_Ch1Idi2Eyk2xht3rxE14ow">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Narr_sSu0KOAKO02XSIBeNSRLTQ">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Tc_gg7T7STY5k6_8ay5YrnHmQ_1_2">02138</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Narr_qVqVMx4Bc0axJ0PlyexuKg">857</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Narr_BGCmkr9ceUCo6PJREww83A">702-9600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Tc_ADRJpg-EvEeAdyOVh23_Aw_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Tc_V4LKPJ_-OU2dpTqnf8HJoA_2_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Tc_v_ZbmQ1qQUORSNy03c2eFg_3_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Tc_It-1AzeCB0yuUalxAxIOVQ_4_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Tc_p5J2RzpvoE-4DdjOITvWeA_2_0">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Tc_gTAA-X2rHUi5gDdzi-YMFw_2_2">MTVA</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Tc_z9eqQn4ffUiyt3syHimlSQ_2_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_10_13_2026_To_10_13_2026__KzTBY1z0EeD79WkSfCFxw"
      id="Narr_aH0-nedTOEyiF9yiaheEKA">false</dei:EntityEmergingGrowthCompany>
</xbrl>
