<?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_ecac144d-7a1d-443a-9705-27fe09259f8f">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-12</startDate>
            <endDate>2026-11-12</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:FormTp
      contextRef="C_ecac144d-7a1d-443a-9705-27fe09259f8f"
      id="F_405d6a25-4845-4e17-83bf-965a6da36ed8">S-3</ffd:FormTp>
    <ffd:RegnFileNb
      contextRef="C_ecac144d-7a1d-443a-9705-27fe09259f8f"
      id="F_535000dc-1d1a-4a69-a985-42ba15d6795f">333-284538</ffd:RegnFileNb>
    <ffd:OfferingTableNa
      contextRef="C_ecac144d-7a1d-443a-9705-27fe09259f8f"
      id="F_3d1453c7-65b5-4825-9ec8-e90cf646ed9b">N/A</ffd:OfferingTableNa>
    <ffd:SubmissnTp
      contextRef="C_ecac144d-7a1d-443a-9705-27fe09259f8f"
      id="F_349fcff2-034a-4085-b5cc-3d7a9bd1c15a">424B2</ffd:SubmissnTp>
    <dei:EntityRegistrantName
      contextRef="C_ecac144d-7a1d-443a-9705-27fe09259f8f"
      id="F_f51bbc76-ca4b-4df0-9973-01a9a227216a">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FeeExhibitTp
      contextRef="C_ecac144d-7a1d-443a-9705-27fe09259f8f"
      id="F_ea5054b3-4b80-4f0e-b71d-ebd17e2eb715">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey
      contextRef="C_ecac144d-7a1d-443a-9705-27fe09259f8f"
      id="F_8c19ebda-21c9-4300-b4b9-b0917bc36be9">0000886982</dei:EntityCentralIndexKey>
    <ffd:OffsetTableNa
      contextRef="C_ecac144d-7a1d-443a-9705-27fe09259f8f"
      id="F_3cd9a42c-b26a-4d26-9973-b10ffcb58554">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_ecac144d-7a1d-443a-9705-27fe09259f8f"
      id="F_8822e899-9b43-49e9-b9f4-1e7af3690d48">N/A</ffd:CombinedProspectusTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_ecac144d-7a1d-443a-9705-27fe09259f8f"
      id="F_8a7f579a-8a15-483c-86eb-59ae274941ff">&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,000,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_ecac144d-7a1d-443a-9705-27fe09259f8f"
      decimals="-6"
      id="F_8338043f-a88c-4179-9430-ab8b19d91cd0"
      unitRef="U_USD">6000000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
