<?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-20261028.xsd" xlink:type="simple"/>
    <context id="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001638287</identifier>
        </entity>
        <period>
            <startDate>2026-10-28</startDate>
            <endDate>2026-10-28</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Tc_G3hTyppDk0CgBRRKT1T9ww_1_1">0001638287</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Tc_OgHzmd71rE6JxisHOsLz_w_2_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Narr_2DhBq41p1kqDbr_LqWzjUQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Narr_Xm1ttd7500WSxQQuna4BSg">2026-10-28</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Narr_e-LEId-7B0OMr44vq4nqlQ">METAVIA INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Tc_C3jpdGIj5EGwA7XscPVhuA_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Tc_gaDkFslC6kKMP4jxLSq8bw_1_2">001-37809</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Tc_2gKS_1vLp02lYTPUpwsInQ_1_4">47-2389984</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Narr_L-DbGPAV8EKZgh7aV5kCKQ">545 Concord Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Narr_apJFBovKiUac4TCs9t1-kw">Suite 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Narr_hQaG-U9eHk6PHgd5gymTUA">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Narr_h96T_XsizkuCYIguJl9PAw">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Tc_heMsmYq5zU-kWgZ-GdhupA_1_2">02138</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Narr_mjlsZw7JwUyvck8bksTNYQ">857</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Narr_7HeYK-20LUiKIwDjEa669g">702-9600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Tc_W8-KxLE040i3vRQnEgqqug_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Tc_8KCGk4BrD02a_4G1to-MTA_2_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Tc_E6ZKC5jbEUSEciJGRKUSbQ_3_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Tc_G9WWdN31hka3ZFShUjzuLQ_4_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Tc_E4YxgUbIbU-Eh5VWlIWz8g_2_0">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Tc_VnpeS4HtbEys9FQGmu6evw_2_2">MTVA</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Tc_U1QEOQHVTU6tuFaR0O3cdw_2_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_10_28_2026_To_10_28_2026_zuLC3VYva0GKSdAsLzSpJw"
      id="Narr_f7STg3kglkKKF614CpAubQ">false</dei:EntityEmergingGrowthCompany>
</xbrl>
