<?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_18d7ccd3-aa07-4cd9-aa9a-19a8429c069a">
        <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>
    <ffd:OffsetTableNa
      contextRef="C_18d7ccd3-aa07-4cd9-aa9a-19a8429c069a"
      id="F_327ef46f-a37f-4d31-8408-845590a34e5f">N/A</ffd:OffsetTableNa>
    <ffd:FormTp
      contextRef="C_18d7ccd3-aa07-4cd9-aa9a-19a8429c069a"
      id="F_f560d5c4-1546-4a00-b7f9-74fe292d3cdd">S-3</ffd:FormTp>
    <ffd:FeeExhibitTp
      contextRef="C_18d7ccd3-aa07-4cd9-aa9a-19a8429c069a"
      id="F_c6046a65-9c46-42ce-822d-8fb175722c77">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName
      contextRef="C_18d7ccd3-aa07-4cd9-aa9a-19a8429c069a"
      id="F_307fdff4-267a-4e31-97d0-b9d48e1f30e8">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:SubmissnTp
      contextRef="C_18d7ccd3-aa07-4cd9-aa9a-19a8429c069a"
      id="F_0324c6ee-c53f-46fd-bb34-97e16f43287f">424B2</ffd:SubmissnTp>
    <ffd:RegnFileNb
      contextRef="C_18d7ccd3-aa07-4cd9-aa9a-19a8429c069a"
      id="F_23e3c1cc-9972-47f7-95c7-cce11e39b293">333-284538</ffd:RegnFileNb>
    <ffd:CombinedProspectusTableNa
      contextRef="C_18d7ccd3-aa07-4cd9-aa9a-19a8429c069a"
      id="F_e89ee850-937e-482d-805c-19a6afc96bb0">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_18d7ccd3-aa07-4cd9-aa9a-19a8429c069a"
      id="F_4a1f1a04-199e-4e1e-a29e-b50565513d3b">0000886982</dei:EntityCentralIndexKey>
    <ffd:OfferingTableNa
      contextRef="C_18d7ccd3-aa07-4cd9-aa9a-19a8429c069a"
      id="F_981c36c4-5449-4b74-9eaf-d80d19832acb">N/A</ffd:OfferingTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_18d7ccd3-aa07-4cd9-aa9a-19a8429c069a"
      id="F_c6125380-49e0-4820-9f93-45515b38abb6">&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;11,600,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_18d7ccd3-aa07-4cd9-aa9a-19a8429c069a"
      decimals="-3"
      id="F_c087262d-0729-40c2-a17c-30dd2b025cc2"
      unitRef="U_USD">11600000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
