<?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_03a50264-9b8f-4559-87ab-e94c219e47a1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-24</startDate>
            <endDate>2026-11-24</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:OffsetTableNa
      contextRef="C_03a50264-9b8f-4559-87ab-e94c219e47a1"
      id="F_9432185e-e936-4db9-85aa-79d06bede7bc">N/A</ffd:OffsetTableNa>
    <ffd:SubmissnTp
      contextRef="C_03a50264-9b8f-4559-87ab-e94c219e47a1"
      id="F_79d20374-e0d5-4c48-ac1e-86caab3574e5">424B2</ffd:SubmissnTp>
    <ffd:OfferingTableNa
      contextRef="C_03a50264-9b8f-4559-87ab-e94c219e47a1"
      id="F_a14a2241-0875-44b3-815f-125a3f16b5b2">N/A</ffd:OfferingTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_03a50264-9b8f-4559-87ab-e94c219e47a1"
      id="F_ad4b028f-dbfa-4bdc-844b-9461c1cc2ad5">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_03a50264-9b8f-4559-87ab-e94c219e47a1"
      id="F_2c002f51-4fe4-4be4-a3f8-343bbc8cd249">0000886982</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb
      contextRef="C_03a50264-9b8f-4559-87ab-e94c219e47a1"
      id="F_7e50d863-0fdf-4c65-bd65-d84fe48b695a">333-284538</ffd:RegnFileNb>
    <ffd:FeeExhibitTp
      contextRef="C_03a50264-9b8f-4559-87ab-e94c219e47a1"
      id="F_5ba8aad5-6ff1-4896-8d90-23fef1f3d188">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName
      contextRef="C_03a50264-9b8f-4559-87ab-e94c219e47a1"
      id="F_a4f1a8b4-88aa-41a3-b91d-ffa3f8e4b9d8">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FormTp
      contextRef="C_03a50264-9b8f-4559-87ab-e94c219e47a1"
      id="F_7410e380-c84a-46f8-923c-e6a90838c8f3">S-3</ffd:FormTp>
    <ffd:NrrtvDsclsr
      contextRef="C_03a50264-9b8f-4559-87ab-e94c219e47a1"
      id="F_58f8b094-725c-4bcb-b0e9-3bcb6f073ca9">&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;14,807,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_03a50264-9b8f-4559-87ab-e94c219e47a1"
      decimals="-3"
      id="F_d545d1a9-bd73-4bc9-86bf-8d1ca4db6249"
      unitRef="U_USD">14807000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
