<?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_c8aa5a2f-e10a-4f4a-81e1-f17900fa8ad9">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-13</startDate>
            <endDate>2026-11-13</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey
      contextRef="C_c8aa5a2f-e10a-4f4a-81e1-f17900fa8ad9"
      id="F_5199d1fc-10cc-4c40-92f9-fe7b7d7ddda3">0000886982</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb
      contextRef="C_c8aa5a2f-e10a-4f4a-81e1-f17900fa8ad9"
      id="F_66611e08-bab3-4c61-8d79-effe9bca52aa">333-284538</ffd:RegnFileNb>
    <ffd:OfferingTableNa
      contextRef="C_c8aa5a2f-e10a-4f4a-81e1-f17900fa8ad9"
      id="F_e08957d3-8299-478d-9aa4-4278b7c138b8">N/A</ffd:OfferingTableNa>
    <dei:EntityRegistrantName
      contextRef="C_c8aa5a2f-e10a-4f4a-81e1-f17900fa8ad9"
      id="F_3d2ff6b6-ea18-40ee-b05e-ad3a579fb773">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FormTp
      contextRef="C_c8aa5a2f-e10a-4f4a-81e1-f17900fa8ad9"
      id="F_454a0d20-450c-4049-a2f4-58b5f674e0b6">S-3</ffd:FormTp>
    <ffd:FeeExhibitTp
      contextRef="C_c8aa5a2f-e10a-4f4a-81e1-f17900fa8ad9"
      id="F_ddf4d40f-aff8-4876-9718-9a8e98ec3e2b">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_c8aa5a2f-e10a-4f4a-81e1-f17900fa8ad9"
      id="F_b5318345-a3e8-48fc-87f1-8a1e895ba322">N/A</ffd:CombinedProspectusTableNa>
    <ffd:SubmissnTp
      contextRef="C_c8aa5a2f-e10a-4f4a-81e1-f17900fa8ad9"
      id="F_a67ae67e-39a9-4faf-b426-0bc18c8e40b0">424B2</ffd:SubmissnTp>
    <ffd:OffsetTableNa
      contextRef="C_c8aa5a2f-e10a-4f4a-81e1-f17900fa8ad9"
      id="F_76f4daa9-97d1-404d-bc15-2ea72ee35e61">N/A</ffd:OffsetTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_c8aa5a2f-e10a-4f4a-81e1-f17900fa8ad9"
      id="F_178b4c26-5966-4ddd-a6fb-e73dae625d5d">&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;3,307,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_c8aa5a2f-e10a-4f4a-81e1-f17900fa8ad9"
      decimals="-3"
      id="F_8525712c-7522-4316-86f0-927d56bb45df"
      unitRef="U_USD">3307000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
