<?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_f9f6e1b2-bda6-49d2-944b-4f2a3ff2043b">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-17</startDate>
            <endDate>2026-11-17</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey
      contextRef="C_f9f6e1b2-bda6-49d2-944b-4f2a3ff2043b"
      id="F_f3115cb3-7c63-469f-8cf3-eb5ce53405e7">0000886982</dei:EntityCentralIndexKey>
    <ffd:FormTp
      contextRef="C_f9f6e1b2-bda6-49d2-944b-4f2a3ff2043b"
      id="F_4af30671-0904-499b-bd3e-1bfb50255d13">S-3</ffd:FormTp>
    <ffd:OfferingTableNa
      contextRef="C_f9f6e1b2-bda6-49d2-944b-4f2a3ff2043b"
      id="F_809bb05e-379e-4143-b0ca-5f11ca1e70cc">N/A</ffd:OfferingTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_f9f6e1b2-bda6-49d2-944b-4f2a3ff2043b"
      id="F_0f634a0b-b5be-463e-a6ad-62f3172183dd">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OffsetTableNa
      contextRef="C_f9f6e1b2-bda6-49d2-944b-4f2a3ff2043b"
      id="F_d27ef2e3-eddc-4181-9543-9cb92103dae4">N/A</ffd:OffsetTableNa>
    <dei:EntityRegistrantName
      contextRef="C_f9f6e1b2-bda6-49d2-944b-4f2a3ff2043b"
      id="F_6c28712d-a5ef-4a5e-8f67-a3baa865f9d1">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:RegnFileNb
      contextRef="C_f9f6e1b2-bda6-49d2-944b-4f2a3ff2043b"
      id="F_9559354e-a547-455a-acbb-ee7ae09c20c1">333-284538</ffd:RegnFileNb>
    <ffd:SubmissnTp
      contextRef="C_f9f6e1b2-bda6-49d2-944b-4f2a3ff2043b"
      id="F_1883bdc9-d940-4b98-925c-07b732874c36">424B2</ffd:SubmissnTp>
    <ffd:FeeExhibitTp
      contextRef="C_f9f6e1b2-bda6-49d2-944b-4f2a3ff2043b"
      id="F_188c1d0b-424c-46a1-8628-6d43ba02b159">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:NrrtvDsclsr
      contextRef="C_f9f6e1b2-bda6-49d2-944b-4f2a3ff2043b"
      id="F_22c3ab77-0f74-46fa-9a4a-525c938d10ce">&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,880,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_f9f6e1b2-bda6-49d2-944b-4f2a3ff2043b"
      decimals="-3"
      id="F_073556a9-9303-41ba-bbdc-24bd62b7ca11"
      unitRef="U_USD">6880000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
