<?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_0b0c8f8c-c1bd-4e23-b238-6c557d94985e">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-13</startDate>
            <endDate>2026-11-13</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:FeeExhibitTp
      contextRef="C_0b0c8f8c-c1bd-4e23-b238-6c557d94985e"
      id="F_f0b5476e-c193-441b-8090-3e1ed3229e0e">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_0b0c8f8c-c1bd-4e23-b238-6c557d94985e"
      id="F_378298fd-5c9a-4f1a-bce7-db6756ae436c">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_0b0c8f8c-c1bd-4e23-b238-6c557d94985e"
      id="F_971b17e3-401d-40d1-886f-cc0ecde97d69">0000886982</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName
      contextRef="C_0b0c8f8c-c1bd-4e23-b238-6c557d94985e"
      id="F_d013fd1f-a637-4aa8-aa35-98afe4aeb7ae">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FormTp
      contextRef="C_0b0c8f8c-c1bd-4e23-b238-6c557d94985e"
      id="F_83d1790e-cf38-45ba-8aa0-6f680b3851ea">S-3</ffd:FormTp>
    <ffd:RegnFileNb
      contextRef="C_0b0c8f8c-c1bd-4e23-b238-6c557d94985e"
      id="F_e442d7ed-a041-4cd2-b6dd-e4927714c208">333-284538</ffd:RegnFileNb>
    <ffd:OfferingTableNa
      contextRef="C_0b0c8f8c-c1bd-4e23-b238-6c557d94985e"
      id="F_85795dc1-11d2-446b-b5dd-7f936d7206ce">N/A</ffd:OfferingTableNa>
    <ffd:OffsetTableNa
      contextRef="C_0b0c8f8c-c1bd-4e23-b238-6c557d94985e"
      id="F_66ba575b-c953-4832-9631-64dde09240f2">N/A</ffd:OffsetTableNa>
    <ffd:SubmissnTp
      contextRef="C_0b0c8f8c-c1bd-4e23-b238-6c557d94985e"
      id="F_7b1aba16-8aaa-4e7a-9a26-4a79c9ed3f06">424B2</ffd:SubmissnTp>
    <ffd:NrrtvDsclsr
      contextRef="C_0b0c8f8c-c1bd-4e23-b238-6c557d94985e"
      id="F_e40853c7-12e9-4f4c-b5de-75dad0fd0e2c">&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,699,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_0b0c8f8c-c1bd-4e23-b238-6c557d94985e"
      decimals="-3"
      id="F_f046b37f-003d-46f5-bfc2-437e0282386c"
      unitRef="U_USD">2699000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
