<?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_5f7d5872-91b8-4f68-aa7a-58a65fe3bebe">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-09</startDate>
            <endDate>2026-11-09</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityRegistrantName
      contextRef="C_5f7d5872-91b8-4f68-aa7a-58a65fe3bebe"
      id="F_d607f101-6969-4b03-a0c1-242f559ec6e3">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FormTp
      contextRef="C_5f7d5872-91b8-4f68-aa7a-58a65fe3bebe"
      id="F_b66c72cc-7d29-4403-8991-61c29f4145cb">S-3</ffd:FormTp>
    <ffd:FeeExhibitTp
      contextRef="C_5f7d5872-91b8-4f68-aa7a-58a65fe3bebe"
      id="F_ae74af01-2466-4592-8948-797c561a7de1">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:RegnFileNb
      contextRef="C_5f7d5872-91b8-4f68-aa7a-58a65fe3bebe"
      id="F_97f57d28-6a24-4a79-9a68-6bc347bbb36b">333-284538</ffd:RegnFileNb>
    <ffd:SubmissnTp
      contextRef="C_5f7d5872-91b8-4f68-aa7a-58a65fe3bebe"
      id="F_472cea59-ed1a-4124-9b9b-d141f5cb76d6">424B2</ffd:SubmissnTp>
    <ffd:OfferingTableNa
      contextRef="C_5f7d5872-91b8-4f68-aa7a-58a65fe3bebe"
      id="F_be95ec51-0019-4cb3-a98e-d4420a355218">N/A</ffd:OfferingTableNa>
    <ffd:OffsetTableNa
      contextRef="C_5f7d5872-91b8-4f68-aa7a-58a65fe3bebe"
      id="F_2c1c2dd1-238d-45cf-bd59-7b48d0f43479">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_5f7d5872-91b8-4f68-aa7a-58a65fe3bebe"
      id="F_23c5b2ce-6ee2-4ac7-94cd-2bcbc8927ca3">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_5f7d5872-91b8-4f68-aa7a-58a65fe3bebe"
      id="F_bb0495f6-5592-445e-a44b-7f97deaeaabe">0000886982</dei:EntityCentralIndexKey>
    <ffd:NrrtvDsclsr
      contextRef="C_5f7d5872-91b8-4f68-aa7a-58a65fe3bebe"
      id="F_4abed7b1-744a-4883-acf2-e6fd917149f5">&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;1,960,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_5f7d5872-91b8-4f68-aa7a-58a65fe3bebe"
      decimals="-3"
      id="F_62dd69e4-e0bb-4611-8562-83fd5823b02f"
      unitRef="U_USD">1960000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
