<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="C_495afc0e-1df6-4d31-9e8e-4a93435f3b6d">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-02-10</startDate>
            <endDate>2026-02-10</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:FormTp
      contextRef="C_495afc0e-1df6-4d31-9e8e-4a93435f3b6d"
      id="F_84f084ae-4fcc-4fba-9d04-75229c4a0da6">S-3</ffd:FormTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_495afc0e-1df6-4d31-9e8e-4a93435f3b6d"
      id="F_a0cc07c2-79cd-46bd-8f04-5a741e2d10df">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_495afc0e-1df6-4d31-9e8e-4a93435f3b6d"
      id="F_2aeff121-a7e8-4376-810d-cc6a1bdcd646">0000886982</dei:EntityCentralIndexKey>
    <ffd:OfferingTableNa
      contextRef="C_495afc0e-1df6-4d31-9e8e-4a93435f3b6d"
      id="F_bebd2594-5386-4205-9f92-4fd10cea63d7">N/A</ffd:OfferingTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_495afc0e-1df6-4d31-9e8e-4a93435f3b6d"
      id="F_063908fa-48b6-4181-8312-60ca84ee4ed6">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:RegnFileNb
      contextRef="C_495afc0e-1df6-4d31-9e8e-4a93435f3b6d"
      id="F_4e2128c8-3e6a-4417-92ae-7cbaffc9fdbd">333-284538</ffd:RegnFileNb>
    <ffd:OffsetTableNa
      contextRef="C_495afc0e-1df6-4d31-9e8e-4a93435f3b6d"
      id="F_e844edaa-bc85-4d8b-989e-26920e3df90e">N/A</ffd:OffsetTableNa>
    <ffd:SubmissnTp
      contextRef="C_495afc0e-1df6-4d31-9e8e-4a93435f3b6d"
      id="F_654fbe01-4806-404c-b095-c1ca5adad2d3">424B2</ffd:SubmissnTp>
    <dei:EntityRegistrantName
      contextRef="C_495afc0e-1df6-4d31-9e8e-4a93435f3b6d"
      id="F_94e0ed13-2892-4f81-9a46-3c8ef3406912">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:NrrtvDsclsr
      contextRef="C_495afc0e-1df6-4d31-9e8e-4a93435f3b6d"
      id="F_7a09b9a2-baa8-4797-91df-84d79bf4db47">&lt;p style="font-size:10pt;margin-top:0;font-family:Times New Roman;margin-bottom:12pt;text-align:left;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:12pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;The prospectus to which this Exhibit is attached is a final prospectus for the related offering.  The maximum aggregate offering price for such offering is $&lt;/span&gt;&lt;span style="font-size:12pt;font-family:Times New Roman;color:#000000;white-space:pre-wrap;font-kerning:none;min-width:fit-content;"&gt;2,225,000&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:12pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;.&lt;/span&gt;&lt;/p&gt;</ffd:NrrtvDsclsr>
    <ffd:NrrtvMaxAggtOfferingPric
      contextRef="C_495afc0e-1df6-4d31-9e8e-4a93435f3b6d"
      decimals="0"
      id="F_c27165ac-3cce-42e0-9922-b5163e3df204"
      unitRef="U_USD">2225000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
