<?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_dd87a510-b987-4398-b555-a05837dfe795">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-13</startDate>
            <endDate>2026-11-13</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:FeeExhibitTp
      contextRef="C_dd87a510-b987-4398-b555-a05837dfe795"
      id="F_2d562845-48e9-4648-bd47-c982b5aa56ee">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_dd87a510-b987-4398-b555-a05837dfe795"
      id="F_1e06d4a0-7836-4f0c-9cbf-e1eeeb9e9d83">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OffsetTableNa
      contextRef="C_dd87a510-b987-4398-b555-a05837dfe795"
      id="F_d8d64746-83b2-4379-8440-e7bfcc038ce7">N/A</ffd:OffsetTableNa>
    <dei:EntityRegistrantName
      contextRef="C_dd87a510-b987-4398-b555-a05837dfe795"
      id="F_6c0f6d20-5ec9-40c0-8ff5-2cfb3fc968d0">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa
      contextRef="C_dd87a510-b987-4398-b555-a05837dfe795"
      id="F_7fb38436-74bb-40d7-8db5-dda2213d5178">N/A</ffd:OfferingTableNa>
    <ffd:FormTp
      contextRef="C_dd87a510-b987-4398-b555-a05837dfe795"
      id="F_aa000e1c-b5f1-40ac-a97b-20af6a4056e4">S-3</ffd:FormTp>
    <ffd:RegnFileNb
      contextRef="C_dd87a510-b987-4398-b555-a05837dfe795"
      id="F_0b351ec5-2f0a-4034-a592-e39596226179">333-284538</ffd:RegnFileNb>
    <ffd:SubmissnTp
      contextRef="C_dd87a510-b987-4398-b555-a05837dfe795"
      id="F_07108d7c-907f-41ce-a996-064a33c37886">424B2</ffd:SubmissnTp>
    <dei:EntityCentralIndexKey
      contextRef="C_dd87a510-b987-4398-b555-a05837dfe795"
      id="F_3013ba14-c205-4bf1-b994-e09b9b8d192c">0000886982</dei:EntityCentralIndexKey>
    <ffd:NrrtvDsclsr
      contextRef="C_dd87a510-b987-4398-b555-a05837dfe795"
      id="F_6f51939b-d2a9-4422-9381-0c2b6b59448f">&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,660,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_dd87a510-b987-4398-b555-a05837dfe795"
      decimals="-3"
      id="F_892626ba-a709-4920-9b5e-7fe20346ba7a"
      unitRef="U_USD">1660000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
