<?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_6319ee12-1f28-438e-b00c-6f61a70a0111">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-17</startDate>
            <endDate>2026-11-17</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:CombinedProspectusTableNa
      contextRef="C_6319ee12-1f28-438e-b00c-6f61a70a0111"
      id="F_84a4c16c-9e82-40c8-a567-51922e3b3097">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_6319ee12-1f28-438e-b00c-6f61a70a0111"
      id="F_ac9d8ebe-74e9-4e6d-b2ed-552f306bda96">0000886982</dei:EntityCentralIndexKey>
    <ffd:FormTp
      contextRef="C_6319ee12-1f28-438e-b00c-6f61a70a0111"
      id="F_4d9765ff-31bf-46e8-9056-327884177b26">S-3</ffd:FormTp>
    <ffd:OffsetTableNa
      contextRef="C_6319ee12-1f28-438e-b00c-6f61a70a0111"
      id="F_c3c9a5ff-331c-420b-b5b3-83a601845f91">N/A</ffd:OffsetTableNa>
    <ffd:SubmissnTp
      contextRef="C_6319ee12-1f28-438e-b00c-6f61a70a0111"
      id="F_2c2e027c-7bb8-47d8-bda1-ac447a857adf">424B2</ffd:SubmissnTp>
    <dei:EntityRegistrantName
      contextRef="C_6319ee12-1f28-438e-b00c-6f61a70a0111"
      id="F_a5ce4a52-dd88-418d-a27d-be638a3bf41f">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:RegnFileNb
      contextRef="C_6319ee12-1f28-438e-b00c-6f61a70a0111"
      id="F_8fc8b3a7-a1ba-4439-9bdd-563991e67c9a">333-284538</ffd:RegnFileNb>
    <ffd:FeeExhibitTp
      contextRef="C_6319ee12-1f28-438e-b00c-6f61a70a0111"
      id="F_94c8a2bf-1ce8-4c95-859b-7b4f3eaa3009">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OfferingTableNa
      contextRef="C_6319ee12-1f28-438e-b00c-6f61a70a0111"
      id="F_9aaa0711-23ca-4c53-9abf-c9d2b187df3d">N/A</ffd:OfferingTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_6319ee12-1f28-438e-b00c-6f61a70a0111"
      id="F_2177ec13-19dd-4b64-b34c-5f8ac3f64fd2">&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 $&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;4,034,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_6319ee12-1f28-438e-b00c-6f61a70a0111"
      decimals="-3"
      id="F_9dea64fc-bf59-41ee-a10c-327b5fa01105"
      unitRef="U_USD">4034000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
