<?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-20261105.xsd" xlink:type="simple"/>
    <context id="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001638287</identifier>
        </entity>
        <period>
            <startDate>2026-11-05</startDate>
            <endDate>2026-11-05</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Tc_ogz7hUWmUUKoN6nqoNrOUg_1_1">0001638287</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Tc_Jo-Izf22xUaKLO0Qwacitw_2_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Narr_lyx0AK-yXUKyK6dmYrILVQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Narr_J18UoBOlp02DSIRa-yNbqw">2026-11-05</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Narr_soQ_vZvi0EiByqEtfu6JLg">METAVIA INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Tc_A8Zt5Nvu1EW61zY5E9TP2A_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Tc_ZfjleOFtxUmmC9O_NMNw5A_1_2">001-37809</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Tc_Qe_rI_yMBkmfF0CBAPRUaQ_1_4">47-2389984</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Narr_OZY5aCVyOkaaoMqNIZb4WQ">545 Concord Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Narr_yUbl3wV2aUiAQSwCG6Ao2A">Suite 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Narr_-lR9KK7d3U2A8jvlTFiKDQ">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Narr_TdFObRPLxEKX5g8QLiu1Wg">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Tc_ioELIURuFkSvYz1bGehbQw_1_2">02138</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Narr_pEwXRDFxakeN7kXH5pVf5Q">857</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Narr_NIKjTc1-f0Whmk5pHC5ZBA">702-9600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Tc_oE9O5uD3q0GM2b8Z8KfmrQ_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Tc_ZPo-AFGkgkWq-Cv2r-H-ng_2_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Tc_6_LlFpwSRUub_u6q_UZ-Tg_3_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Tc_aMzu3TYOw0qndaVGeE9dZw_4_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Tc_hEUJULTgh0Croi5qWQbVjA_2_0">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Tc_Wgy4TEEwOUCKkCknPR1o2w_2_2">MTVA</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Tc_eNJNY-AgnkuhBm1uyE7HAQ_2_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_11_5_2026_To_11_5_2026_7ZF2v37Iwk6g-ys63XcHAA"
      id="Narr_mFfz9UAm10aoJFx4dgJ_Og">false</dei:EntityEmergingGrowthCompany>
</xbrl>
