<?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-20260511.xsd" xlink:type="simple"/>
    <context id="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001638287</identifier>
        </entity>
        <period>
            <startDate>2026-05-11</startDate>
            <endDate>2026-05-11</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Tc_7lNgTdu9LUmotIdVSZ5XkA_1_1">0001638287</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Tc_1g5xE8Sa7kONeElsyYd69A_2_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Narr_uDtOWwJP4UiAff0mZ_FiQg">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Narr_CXLI_J_jj0GCEda7JylTPg">2026-05-11</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Narr_ZtOjxph0bECVfDyccgbYYw">METAVIA INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Tc_q9ZbsXKdW0Wvosj3hu9LLw_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Tc_TDSGc8MNskKK1ExOVVT8Sw_1_2">001-37809</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Tc_9pbayNA8ukSgPzq1D9cClA_1_4">47-2389984</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Narr_w2c0gd5rlUSrJj8qutCTXQ">545 Concord Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Narr_YkfgPJDMF0afGa7XZBypaQ">Suite 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Narr_R29DM7rYvE-ItWf_2St0cA">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Narr_Epw3XsFsak-Izu1LNVV4CA">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Tc_k9ni6R9nwkuq61jzVCsNXg_1_2">02138</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Narr_4gE7fKWWR0CL6uv3xiagZg">857</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Narr_-HhKL77y7USsOV5xVhZ9gA">702-9600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Tc_llDUAK9Xm0OPVGj1-2CqoQ_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Tc_bLeuhCo5gkWP0E7QuJQZmQ_2_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Tc_xSGaPUj2E0GgFkQN9ODiWQ_3_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Tc_6Z5MaXKrqkW7bUkBDOrFcA_4_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Tc_UAPJAKP4X0m_VkJfIWQyFQ_2_0">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Tc_n_GNx6tYk0-Ezo-zR12Ptw_2_2">MTVA</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Tc_vbzUVoEFCEqFc3fbNu46Ow_2_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_5_11_2026_To_5_11_2026_N7pN8aYP5UGPzR_9O7YEbQ"
      id="Narr_6Om3MhM1e0CALzfxkV1VPQ">false</dei:EntityEmergingGrowthCompany>
</xbrl>
