<?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_d1d65daa-2e50-4949-935b-582ccce9cbfa">
        <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:RegnFileNb
      contextRef="C_d1d65daa-2e50-4949-935b-582ccce9cbfa"
      id="F_06fea700-ec6b-4afc-bb70-4eb507be72b9">333-284538</ffd:RegnFileNb>
    <ffd:CombinedProspectusTableNa
      contextRef="C_d1d65daa-2e50-4949-935b-582ccce9cbfa"
      id="F_967a3e04-52e3-4a08-b262-63aee543e984">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_d1d65daa-2e50-4949-935b-582ccce9cbfa"
      id="F_28497323-86f5-4d76-b3c1-fb72ecde0725">0000886982</dei:EntityCentralIndexKey>
    <ffd:OfferingTableNa
      contextRef="C_d1d65daa-2e50-4949-935b-582ccce9cbfa"
      id="F_cf2276f2-dac5-4323-baae-38811b4bcd98">N/A</ffd:OfferingTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_d1d65daa-2e50-4949-935b-582ccce9cbfa"
      id="F_5edc934b-3bcb-41dd-bafb-205734081124">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName
      contextRef="C_d1d65daa-2e50-4949-935b-582ccce9cbfa"
      id="F_682a7135-a22d-4095-8060-b334dbf6cd9e">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FormTp
      contextRef="C_d1d65daa-2e50-4949-935b-582ccce9cbfa"
      id="F_e3cfab1e-5952-4788-864d-7255116c5bf5">S-3</ffd:FormTp>
    <ffd:SubmissnTp
      contextRef="C_d1d65daa-2e50-4949-935b-582ccce9cbfa"
      id="F_c548ee31-6072-4c61-8031-67fa6dc5ee5d">424B2</ffd:SubmissnTp>
    <ffd:OffsetTableNa
      contextRef="C_d1d65daa-2e50-4949-935b-582ccce9cbfa"
      id="F_d7422ccb-3d75-4daf-913c-1f9b67e0dad9">N/A</ffd:OffsetTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_d1d65daa-2e50-4949-935b-582ccce9cbfa"
      id="F_0f013296-384b-4bc4-82ac-fa4dec325638">&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;650,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_d1d65daa-2e50-4949-935b-582ccce9cbfa"
      decimals="-3"
      id="F_a12e3455-a5c3-4838-9578-02d62d665e2b"
      unitRef="U_USD">650000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
