<?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_1a8067c3-714f-4899-8b55-7a051d17bc28">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-09</startDate>
            <endDate>2026-11-09</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:SubmissnTp
      contextRef="C_1a8067c3-714f-4899-8b55-7a051d17bc28"
      id="F_08e813ef-7175-4f15-a593-52f3a914f20f">424B2</ffd:SubmissnTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_1a8067c3-714f-4899-8b55-7a051d17bc28"
      id="F_aa5be480-cfb5-49db-8a4e-ef83dd2a083c">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_1a8067c3-714f-4899-8b55-7a051d17bc28"
      id="F_ee5cc35c-8ff3-4822-9072-bd84a117af6f">0000886982</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb
      contextRef="C_1a8067c3-714f-4899-8b55-7a051d17bc28"
      id="F_270daf9f-95bc-44a6-8d46-a30b3c8ddc2b">333-284538</ffd:RegnFileNb>
    <ffd:FormTp
      contextRef="C_1a8067c3-714f-4899-8b55-7a051d17bc28"
      id="F_ed367457-5eae-4aa8-bed7-7f78bd49c3ed">S-3</ffd:FormTp>
    <dei:EntityRegistrantName
      contextRef="C_1a8067c3-714f-4899-8b55-7a051d17bc28"
      id="F_efbbe565-a02f-4e7e-96eb-18b315be69a0">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FeeExhibitTp
      contextRef="C_1a8067c3-714f-4899-8b55-7a051d17bc28"
      id="F_471c284f-3322-4bca-949d-76e97173f8c9">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OfferingTableNa
      contextRef="C_1a8067c3-714f-4899-8b55-7a051d17bc28"
      id="F_4e08fce1-e31a-4671-8858-5b869cfd1d16">N/A</ffd:OfferingTableNa>
    <ffd:OffsetTableNa
      contextRef="C_1a8067c3-714f-4899-8b55-7a051d17bc28"
      id="F_01fdb33f-8917-435e-aa7e-9456d22fc215">N/A</ffd:OffsetTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_1a8067c3-714f-4899-8b55-7a051d17bc28"
      id="F_3705441a-f0be-49da-9648-5bec714c306f">&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;22,992,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_1a8067c3-714f-4899-8b55-7a051d17bc28"
      decimals="-3"
      id="F_68da45a1-69ff-42f8-9e61-b2aec8667a34"
      unitRef="U_USD">22992000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
