<?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_77ac2796-c2d1-4712-abb2-b3f881778280">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-10</startDate>
            <endDate>2026-11-10</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:SubmissnTp
      contextRef="C_77ac2796-c2d1-4712-abb2-b3f881778280"
      id="F_be4da5b2-5b3e-4dbc-968b-303e35cb58fc">424B2</ffd:SubmissnTp>
    <dei:EntityCentralIndexKey
      contextRef="C_77ac2796-c2d1-4712-abb2-b3f881778280"
      id="F_d0b7948d-54d9-4360-9c09-eb268406db5d">0000886982</dei:EntityCentralIndexKey>
    <ffd:FormTp
      contextRef="C_77ac2796-c2d1-4712-abb2-b3f881778280"
      id="F_21b5145b-3a65-47f0-8ed7-466c4b7fe58c">S-3</ffd:FormTp>
    <ffd:RegnFileNb
      contextRef="C_77ac2796-c2d1-4712-abb2-b3f881778280"
      id="F_36b602dc-4868-4b88-a385-e881d9a39dcc">333-284538</ffd:RegnFileNb>
    <ffd:CombinedProspectusTableNa
      contextRef="C_77ac2796-c2d1-4712-abb2-b3f881778280"
      id="F_ed5e9cff-9447-455e-8d1a-bde1e52bda9c">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OffsetTableNa
      contextRef="C_77ac2796-c2d1-4712-abb2-b3f881778280"
      id="F_875e7d7a-e9e4-47e8-9829-a9a8231e21cb">N/A</ffd:OffsetTableNa>
    <dei:EntityRegistrantName
      contextRef="C_77ac2796-c2d1-4712-abb2-b3f881778280"
      id="F_65fb6710-0433-42ad-8179-508cbfc64d51">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FeeExhibitTp
      contextRef="C_77ac2796-c2d1-4712-abb2-b3f881778280"
      id="F_a755ec16-4b35-4bd5-bb1e-36c5be45de2f">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OfferingTableNa
      contextRef="C_77ac2796-c2d1-4712-abb2-b3f881778280"
      id="F_c283e39b-d344-42f4-89f8-7de2eaa9da1c">N/A</ffd:OfferingTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_77ac2796-c2d1-4712-abb2-b3f881778280"
      id="F_54b8cfd8-96ce-4922-8c51-baa4cdb00ea7">&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;2,268,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_77ac2796-c2d1-4712-abb2-b3f881778280"
      decimals="-3"
      id="F_36b4e279-93d7-495a-827d-b2918d03375c"
      unitRef="U_USD">2268000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
