<?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_876bd3ef-5164-4173-b7b5-25cb7ff2f705">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-09-01</startDate>
            <endDate>2026-09-01</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityRegistrantName
      contextRef="C_876bd3ef-5164-4173-b7b5-25cb7ff2f705"
      id="F_675a195a-8f9b-46a2-88f9-d0e1d1cdb4a2">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:SubmissnTp
      contextRef="C_876bd3ef-5164-4173-b7b5-25cb7ff2f705"
      id="F_5f6599fe-a575-4c59-beb6-6253906a0421">424B2</ffd:SubmissnTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_876bd3ef-5164-4173-b7b5-25cb7ff2f705"
      id="F_f9407e7f-4627-41b5-af28-72bf9d735856">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp
      contextRef="C_876bd3ef-5164-4173-b7b5-25cb7ff2f705"
      id="F_b2b632a7-a15a-4ff1-bcb7-a6d8e71c80ef">S-3</ffd:FormTp>
    <dei:EntityCentralIndexKey
      contextRef="C_876bd3ef-5164-4173-b7b5-25cb7ff2f705"
      id="F_b2f6bc83-a80c-4d1e-ad67-5d5ebe479243">0000886982</dei:EntityCentralIndexKey>
    <ffd:OffsetTableNa
      contextRef="C_876bd3ef-5164-4173-b7b5-25cb7ff2f705"
      id="F_9e176121-fa3b-401f-a932-2a6addfd5247">N/A</ffd:OffsetTableNa>
    <ffd:OfferingTableNa
      contextRef="C_876bd3ef-5164-4173-b7b5-25cb7ff2f705"
      id="F_f8e8bd3a-5348-415e-a41b-44c4fc7a4f06">N/A</ffd:OfferingTableNa>
    <ffd:RegnFileNb
      contextRef="C_876bd3ef-5164-4173-b7b5-25cb7ff2f705"
      id="F_dd89b1c5-7d69-4514-95bd-d8f2b4d1c312">333-284538</ffd:RegnFileNb>
    <ffd:FeeExhibitTp
      contextRef="C_876bd3ef-5164-4173-b7b5-25cb7ff2f705"
      id="F_4e1fda53-072a-448a-a528-a07f4e8fc648">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:NrrtvDsclsr
      contextRef="C_876bd3ef-5164-4173-b7b5-25cb7ff2f705"
      id="F_7dc98abe-d699-4ac0-8e7e-56775a6dfbcd">&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;75,000,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_876bd3ef-5164-4173-b7b5-25cb7ff2f705"
      decimals="-6"
      id="F_4e5275a7-b07d-47c3-874b-8efeef430d22"
      unitRef="U_USD">75000000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
