<?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_1cb69047-9005-44e7-b598-d833ac377cd3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-05</startDate>
            <endDate>2026-11-05</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:RegnFileNb
      contextRef="C_1cb69047-9005-44e7-b598-d833ac377cd3"
      id="F_fa9ce358-6029-4724-8343-5ebadbf159e7">333-284538</ffd:RegnFileNb>
    <ffd:FeeExhibitTp
      contextRef="C_1cb69047-9005-44e7-b598-d833ac377cd3"
      id="F_9ab2bd1d-ba3a-4759-b8ed-9fa5a8fe61d0">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_1cb69047-9005-44e7-b598-d833ac377cd3"
      id="F_97f32fc7-bf0e-4964-822c-ae7f1733b3ed">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OfferingTableNa
      contextRef="C_1cb69047-9005-44e7-b598-d833ac377cd3"
      id="F_00b3d72e-dacb-4db8-b343-7b24a9418b91">N/A</ffd:OfferingTableNa>
    <ffd:OffsetTableNa
      contextRef="C_1cb69047-9005-44e7-b598-d833ac377cd3"
      id="F_3cae4f57-a2fe-43f3-a8fa-96fd60150e9c">N/A</ffd:OffsetTableNa>
    <dei:EntityRegistrantName
      contextRef="C_1cb69047-9005-44e7-b598-d833ac377cd3"
      id="F_de494770-c8b8-4084-8b44-35e53bd3fb9c">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:SubmissnTp
      contextRef="C_1cb69047-9005-44e7-b598-d833ac377cd3"
      id="F_efb482fd-f987-4842-a9c5-4c6235a61649">424B2</ffd:SubmissnTp>
    <dei:EntityCentralIndexKey
      contextRef="C_1cb69047-9005-44e7-b598-d833ac377cd3"
      id="F_73d8383b-01ae-4e67-869b-2477406468c7">0000886982</dei:EntityCentralIndexKey>
    <ffd:FormTp
      contextRef="C_1cb69047-9005-44e7-b598-d833ac377cd3"
      id="F_53719880-5f68-40cf-8de2-70fe69e3f432">S-3</ffd:FormTp>
    <ffd:NrrtvDsclsr
      contextRef="C_1cb69047-9005-44e7-b598-d833ac377cd3"
      id="F_971d331e-7d72-4be4-b5b9-37bdac84f5d4">&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;1,386,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_1cb69047-9005-44e7-b598-d833ac377cd3"
      decimals="-3"
      id="F_79220df5-72ee-411e-8564-ae4f9c55b21e"
      unitRef="U_USD">1386000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
