<?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_481f16d7-96b7-4dd8-8021-a34ee19774c6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-03</startDate>
            <endDate>2026-11-03</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:OffsetTableNa
      contextRef="C_481f16d7-96b7-4dd8-8021-a34ee19774c6"
      id="F_c8052ae5-cb8e-455f-9673-c9301d90ffe0">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_481f16d7-96b7-4dd8-8021-a34ee19774c6"
      id="F_83809cc6-0fa0-426e-9292-7074be60a331">N/A</ffd:CombinedProspectusTableNa>
    <ffd:SubmissnTp
      contextRef="C_481f16d7-96b7-4dd8-8021-a34ee19774c6"
      id="F_983c0071-61c6-4f5a-baaf-6b87efebec20">424B2</ffd:SubmissnTp>
    <ffd:RegnFileNb
      contextRef="C_481f16d7-96b7-4dd8-8021-a34ee19774c6"
      id="F_b0453df8-3e36-40b7-8293-8c7b7abe7c0a">333-284538</ffd:RegnFileNb>
    <ffd:FeeExhibitTp
      contextRef="C_481f16d7-96b7-4dd8-8021-a34ee19774c6"
      id="F_46ff22b9-351b-4ad9-ba10-b8eb84cccdbd">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OfferingTableNa
      contextRef="C_481f16d7-96b7-4dd8-8021-a34ee19774c6"
      id="F_fb5f4366-a81a-4b52-8cb5-b46f0ac76aaa">N/A</ffd:OfferingTableNa>
    <dei:EntityRegistrantName
      contextRef="C_481f16d7-96b7-4dd8-8021-a34ee19774c6"
      id="F_376e5cf9-5353-44e0-8edb-bc0b5c4162cb">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey
      contextRef="C_481f16d7-96b7-4dd8-8021-a34ee19774c6"
      id="F_859291f1-ccec-47ad-bd69-ad040cf14ac7">0000886982</dei:EntityCentralIndexKey>
    <ffd:FormTp
      contextRef="C_481f16d7-96b7-4dd8-8021-a34ee19774c6"
      id="F_2e906243-6414-4aa2-8273-484f1543da84">S-3</ffd:FormTp>
    <ffd:NrrtvDsclsr
      contextRef="C_481f16d7-96b7-4dd8-8021-a34ee19774c6"
      id="F_14a3fe22-dbff-4c8c-90e3-deffa98500bd">&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;515,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_481f16d7-96b7-4dd8-8021-a34ee19774c6"
      decimals="-3"
      id="F_da92f4a7-50cd-4dc1-aafe-663b7f0c5eda"
      unitRef="U_USD">515000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
