<?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-20261114.xsd" xlink:type="simple"/>
    <context id="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001638287</identifier>
        </entity>
        <period>
            <startDate>2026-11-14</startDate>
            <endDate>2026-11-14</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Tc_BCXh9dI-q0ib3tFjQSAloA_1_1">0001638287</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Tc_Iy5Z95Q1n0KkY9OD52Wluw_2_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Narr_fM3sfj6770eoM96uD257XQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Narr_F4YdB9rxOUqBBTPCQjPoxQ">2026-11-14</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Narr_7jX1YTIaaUG-19hJFw5VAg">METAVIA INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Tc_ouPxCRTSj0ekVnqzOdau6g_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Tc_7XlvloIjFE-vF9ituvc8ig_1_2">001-37809</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Tc_PeRd5TlVikeiZrT3oz2z_w_1_4">47-2389984</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Narr_VlFVVFwJ6UeTcEt4n4QQiQ">545 Concord Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Narr_1yNUmdjVfkuZfuSI-YcfsA">Suite 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Narr_-F3TcqY6i0Gax2LKM3GmZA">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Narr_gloXxR9dFEySKU3cZ65_pg">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Tc_ujYo86QadUusQmhdbCW0iQ_1_2">02138</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Narr_U9XlLVeF8ECapjDHoQLZTA">857</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Narr_hHdzSlDg7UK0ukz6kg8IjA">702-9600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Tc_2FB_gF8hH0yi5HEYgrC5-g_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Tc_ujAmJBle9kqOxA2-quIm5A_2_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Tc_muixUIsPHECOlt1Rm80RTA_3_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Tc_OBKFs63cHEi0ToMMUXg03g_4_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Tc_3I5YMOIeSk62rAFKz2QDKA_2_0">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Tc_ahszacFd602pqvevgLZEoA_2_2">MTVA</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Tc_--G7hR34pkaCj0oO93Mdsg_2_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_11_14_2026_To_11_14_2026_xWzVH-Y5Okepw6nuvvFwaA"
      id="Narr_WLsop27xs0Sz5Zzt045JGw">false</dei:EntityEmergingGrowthCompany>
</xbrl>
