<?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-20260518.xsd" xlink:type="simple"/>
    <context id="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001638287</identifier>
        </entity>
        <period>
            <startDate>2026-05-18</startDate>
            <endDate>2026-05-18</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Tc_h3n42-hdf0ukCg-MJ5MoEg_1_1">0001638287</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Tc_rf5mdrrFX0eJV51lAWVbhw_2_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Narr_0KPMl4KYp0ylSEKHFlpPlg">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Narr_myj0KiUVdUmLXBVWs6uBtA">2026-05-18</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Narr_yJXbJor5REKbrKzZpLvqcg">METAVIA INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Tc_b0pQyZUrFkia1VXr88qrXA_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Tc_N4AV44gS9U-cz3fyvZvhHA_1_2">001-37809</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Tc_milBoH3I9UGRFe8Zxt51gg_1_4">47-2389984</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Narr_dqKK7DNXRk-v9ZHUIQvnIQ">545 Concord Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Narr_yDUpqcs_0kCvO_TogtKTMg">Suite 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Narr_vLLA1JkLpUK-UglmWOJa1w">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Narr_pvQl804ZJkSbSFPqVkYwpg">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Tc_q6J0u6AsoUKR7LrAF5p3Yw_1_2">02138</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Narr_rdjPbGOqo0y2dH0SU26HmQ">857</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Narr_1ag3tufX2UWCDU3H2aG_jA">702-9600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Tc_1-oPkRLx6Ey7p0FYNScbEw_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Tc_PDQzgMrSqUCVQS_BAABX1A_2_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Tc_a_UNjgfgmkmSzF-kbTCgIA_3_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Tc_ZWj49JX1CU66kax4_idnIA_4_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Tc_uBMR7UvWYEC-AOpNN4wT8A_2_0">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Tc_5eYNTB-LDUS23PGEyrUBMw_2_2">MTVA</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Tc_czupikG9yE-_zjtCVEdG3g_2_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_5_18_2026_To_5_18_2026_AwSWlFy2JEK2D7qRE03Aww"
      id="Narr_A47yo5_qxkSCIcrAeCG83g">false</dei:EntityEmergingGrowthCompany>
</xbrl>
