<?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_e321f5b6-c491-4645-b2e2-0d55a9b5ec3c">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-10</startDate>
            <endDate>2026-11-10</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey
      contextRef="C_e321f5b6-c491-4645-b2e2-0d55a9b5ec3c"
      id="F_b1c9a7a0-1fa3-4862-ae18-db2094d049f2">0000886982</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp
      contextRef="C_e321f5b6-c491-4645-b2e2-0d55a9b5ec3c"
      id="F_920c6608-0b61-414c-a6cb-03e33dca404e">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName
      contextRef="C_e321f5b6-c491-4645-b2e2-0d55a9b5ec3c"
      id="F_003a6f4c-8fd7-47a1-9c88-90a5b85b7720">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa
      contextRef="C_e321f5b6-c491-4645-b2e2-0d55a9b5ec3c"
      id="F_0244638c-a1d5-4635-b4cc-ecc19ba8d4f1">N/A</ffd:OfferingTableNa>
    <ffd:OffsetTableNa
      contextRef="C_e321f5b6-c491-4645-b2e2-0d55a9b5ec3c"
      id="F_8936b35c-ccf3-46d6-b8d5-a71e63c508a4">N/A</ffd:OffsetTableNa>
    <ffd:FormTp
      contextRef="C_e321f5b6-c491-4645-b2e2-0d55a9b5ec3c"
      id="F_d1a3bf81-dadb-4e3d-b766-40888984a91f">S-3</ffd:FormTp>
    <ffd:SubmissnTp
      contextRef="C_e321f5b6-c491-4645-b2e2-0d55a9b5ec3c"
      id="F_c25a8250-7e4f-432f-8833-d173e8330615">424B2</ffd:SubmissnTp>
    <ffd:RegnFileNb
      contextRef="C_e321f5b6-c491-4645-b2e2-0d55a9b5ec3c"
      id="F_1af0bdc2-1959-43ab-af1d-7d835ce7e596">333-284538</ffd:RegnFileNb>
    <ffd:CombinedProspectusTableNa
      contextRef="C_e321f5b6-c491-4645-b2e2-0d55a9b5ec3c"
      id="F_f486519f-157d-44e3-ba15-1bc07d9547e2">N/A</ffd:CombinedProspectusTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_e321f5b6-c491-4645-b2e2-0d55a9b5ec3c"
      id="F_b10266a4-5203-4853-9972-ca4986065b67">&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;8,635,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_e321f5b6-c491-4645-b2e2-0d55a9b5ec3c"
      decimals="-3"
      id="F_6c10f647-5c2f-4fe2-b446-a5f19473c0fc"
      unitRef="U_USD">8635000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
