<?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_f1916b0c-271b-4fd4-9f93-b25ef0bb02df">
        <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:OfferingTableNa
      contextRef="C_f1916b0c-271b-4fd4-9f93-b25ef0bb02df"
      id="F_19f903c7-87f4-4bda-a058-6f81046b5b6c">N/A</ffd:OfferingTableNa>
    <ffd:RegnFileNb
      contextRef="C_f1916b0c-271b-4fd4-9f93-b25ef0bb02df"
      id="F_da196c17-9d9f-44e7-b9b1-1e16815373af">333-284538</ffd:RegnFileNb>
    <ffd:FeeExhibitTp
      contextRef="C_f1916b0c-271b-4fd4-9f93-b25ef0bb02df"
      id="F_11d44283-3d10-422b-8236-827a2c5f7a3e">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa
      contextRef="C_f1916b0c-271b-4fd4-9f93-b25ef0bb02df"
      id="F_a7df8d81-e9ac-4de4-bcae-f11fcfcef394">N/A</ffd:OffsetTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_f1916b0c-271b-4fd4-9f93-b25ef0bb02df"
      id="F_24c7c3f1-2c15-449e-84a1-56eede4396b3">0000886982</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName
      contextRef="C_f1916b0c-271b-4fd4-9f93-b25ef0bb02df"
      id="F_1a213052-123c-4964-b093-3abed250887c">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:SubmissnTp
      contextRef="C_f1916b0c-271b-4fd4-9f93-b25ef0bb02df"
      id="F_1c2a9455-281c-4228-80db-976b26bba1bf">424B2</ffd:SubmissnTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_f1916b0c-271b-4fd4-9f93-b25ef0bb02df"
      id="F_27ef3518-5cbe-4bb8-ac2c-b8b433834381">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp
      contextRef="C_f1916b0c-271b-4fd4-9f93-b25ef0bb02df"
      id="F_03e860f9-86ae-453a-a44e-326a2122c60c">S-3</ffd:FormTp>
    <ffd:NrrtvDsclsr
      contextRef="C_f1916b0c-271b-4fd4-9f93-b25ef0bb02df"
      id="F_d99a929c-fc74-4fa1-ab89-00ff075e8b11">&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;3,381,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_f1916b0c-271b-4fd4-9f93-b25ef0bb02df"
      decimals="-3"
      id="F_b77c9b1b-b151-4915-aa67-d1c18d4b9f27"
      unitRef="U_USD">3381000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
