<?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_8925a136-c896-4693-86d2-4e0bc34dda70">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-03</startDate>
            <endDate>2026-11-03</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityRegistrantName
      contextRef="C_8925a136-c896-4693-86d2-4e0bc34dda70"
      id="F_3dd2c210-a1b1-49ba-add1-fe118eaeeea5">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:SubmissnTp
      contextRef="C_8925a136-c896-4693-86d2-4e0bc34dda70"
      id="F_527a17db-6aeb-4621-8302-a22be2582906">424B2</ffd:SubmissnTp>
    <ffd:OfferingTableNa
      contextRef="C_8925a136-c896-4693-86d2-4e0bc34dda70"
      id="F_911cb045-c764-4887-95fd-a2f3c8052536">N/A</ffd:OfferingTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_8925a136-c896-4693-86d2-4e0bc34dda70"
      id="F_8029b9bf-ce38-4a56-9108-338afcb4bf59">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey
      contextRef="C_8925a136-c896-4693-86d2-4e0bc34dda70"
      id="F_578f5719-bdda-4886-9dc1-35315c521dec">0000886982</dei:EntityCentralIndexKey>
    <ffd:FormTp
      contextRef="C_8925a136-c896-4693-86d2-4e0bc34dda70"
      id="F_9346aca4-dd70-4b95-a73d-49721fa7facd">S-3</ffd:FormTp>
    <ffd:OffsetTableNa
      contextRef="C_8925a136-c896-4693-86d2-4e0bc34dda70"
      id="F_9943a719-b857-4e5f-81f3-1998804ccd61">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_8925a136-c896-4693-86d2-4e0bc34dda70"
      id="F_49cfe33b-4c63-4223-82bb-3213f6978542">N/A</ffd:CombinedProspectusTableNa>
    <ffd:RegnFileNb
      contextRef="C_8925a136-c896-4693-86d2-4e0bc34dda70"
      id="F_c3fd111a-c98b-4b82-851a-1253ab6ef3dc">333-284538</ffd:RegnFileNb>
    <ffd:NrrtvDsclsr
      contextRef="C_8925a136-c896-4693-86d2-4e0bc34dda70"
      id="F_ee0ccbb8-6078-4793-9356-1513341074fc">&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;500,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_8925a136-c896-4693-86d2-4e0bc34dda70"
      decimals="-3"
      id="F_a5a3dc46-e34a-4fc1-b2ba-df11fd47a3fb"
      unitRef="U_USD">500000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
