<?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_42b28a53-d470-4c4d-8818-0d242b1fa099">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-06</startDate>
            <endDate>2026-11-06</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:RegnFileNb
      contextRef="C_42b28a53-d470-4c4d-8818-0d242b1fa099"
      id="F_97b1e639-a4ec-467c-a330-fa10bbc83291">333-284538</ffd:RegnFileNb>
    <ffd:CombinedProspectusTableNa
      contextRef="C_42b28a53-d470-4c4d-8818-0d242b1fa099"
      id="F_4dca7024-f5db-41fe-ad33-9545671f1fff">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OfferingTableNa
      contextRef="C_42b28a53-d470-4c4d-8818-0d242b1fa099"
      id="F_1992d0ff-df6c-47ab-93ec-5ba5de37df2f">N/A</ffd:OfferingTableNa>
    <ffd:OffsetTableNa
      contextRef="C_42b28a53-d470-4c4d-8818-0d242b1fa099"
      id="F_f866df64-29b9-48d4-9b11-0e5624780c72">N/A</ffd:OffsetTableNa>
    <ffd:SubmissnTp
      contextRef="C_42b28a53-d470-4c4d-8818-0d242b1fa099"
      id="F_83a2e29d-1180-4663-a03c-0701b6276a95">424B2</ffd:SubmissnTp>
    <dei:EntityRegistrantName
      contextRef="C_42b28a53-d470-4c4d-8818-0d242b1fa099"
      id="F_ca5247e6-356b-496f-b14f-af50f325a98b">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey
      contextRef="C_42b28a53-d470-4c4d-8818-0d242b1fa099"
      id="F_90a13dc5-ed89-4f33-9917-0dde0150f90e">0000886982</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp
      contextRef="C_42b28a53-d470-4c4d-8818-0d242b1fa099"
      id="F_3cc58414-1249-48f3-91c7-50a098d2aeea">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp
      contextRef="C_42b28a53-d470-4c4d-8818-0d242b1fa099"
      id="F_aaff1f4c-b3c9-4700-a9e6-15903426c72b">S-3</ffd:FormTp>
    <ffd:NrrtvDsclsr
      contextRef="C_42b28a53-d470-4c4d-8818-0d242b1fa099"
      id="F_b2df4ad6-5a00-442b-b956-fc4e5cc1a453">&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;6,723,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_42b28a53-d470-4c4d-8818-0d242b1fa099"
      decimals="-3"
      id="F_fc5e23eb-b452-487a-9c31-0ff04806dd7a"
      unitRef="U_USD">6723000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
