<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  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/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="C_fc31da7e-273b-41cf-b282-2b38928aa820">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-23</startDate>
            <endDate>2026-11-23</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityRegistrantName
      contextRef="C_fc31da7e-273b-41cf-b282-2b38928aa820"
      id="F_0a78d703-e44f-47be-abf9-aab0d81ce771">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:CombinedProspectusTableNa
      contextRef="C_fc31da7e-273b-41cf-b282-2b38928aa820"
      id="F_6eb85002-9529-4da2-b500-f6066622b6d6">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_fc31da7e-273b-41cf-b282-2b38928aa820"
      id="F_d5f9b88b-e275-43bb-a405-1cac601d09f4">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:SubmissnTp
      contextRef="C_fc31da7e-273b-41cf-b282-2b38928aa820"
      id="F_fdfbc5a6-8497-446c-aaaa-6c036ddda87a">424B2</ffd:SubmissnTp>
    <ffd:FormTp
      contextRef="C_fc31da7e-273b-41cf-b282-2b38928aa820"
      id="F_5a07d8c0-b098-4d09-b9e4-a8d61ef0af1d">S-3</ffd:FormTp>
    <dei:EntityCentralIndexKey
      contextRef="C_fc31da7e-273b-41cf-b282-2b38928aa820"
      id="F_dbbcd81d-04c6-4f36-bbca-162c9ca654d6">0000886982</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb
      contextRef="C_fc31da7e-273b-41cf-b282-2b38928aa820"
      id="F_d2a1cf0e-5d01-4136-a8aa-fdbf5bb80af4">333-284538</ffd:RegnFileNb>
    <ffd:OfferingTableNa
      contextRef="C_fc31da7e-273b-41cf-b282-2b38928aa820"
      id="F_2b380809-f762-4de3-a152-587d18322fa2">N/A</ffd:OfferingTableNa>
    <ffd:OffsetTableNa
      contextRef="C_fc31da7e-273b-41cf-b282-2b38928aa820"
      id="F_431efb1f-7886-4562-ab6e-37583051730c">N/A</ffd:OffsetTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_fc31da7e-273b-41cf-b282-2b38928aa820"
      id="F_6fa1899f-1701-474b-ab4d-1c39796d2d3e">&lt;p style="tab-size:26.66px;font-size:12pt;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;4,607,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_fc31da7e-273b-41cf-b282-2b38928aa820"
      decimals="-3"
      id="F_a03b4035-5fdb-4478-8055-d1418b344309"
      unitRef="U_USD">4607000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
