<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  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/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="C_30a4b46b-a006-4a8f-88f2-5b12b6bcc54e">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-02-23</startDate>
            <endDate>2026-02-23</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:OfferingTableNa
      contextRef="C_30a4b46b-a006-4a8f-88f2-5b12b6bcc54e"
      id="F_7f3877e2-9a74-4fe9-bb10-4ac0061ba465">N/A</ffd:OfferingTableNa>
    <dei:EntityRegistrantName
      contextRef="C_30a4b46b-a006-4a8f-88f2-5b12b6bcc54e"
      id="F_8b0cda41-1355-43f1-9300-afc063f697ac">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FeeExhibitTp
      contextRef="C_30a4b46b-a006-4a8f-88f2-5b12b6bcc54e"
      id="F_685e7c5a-38c7-494e-aa9e-eaa529fc0f5e">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey
      contextRef="C_30a4b46b-a006-4a8f-88f2-5b12b6bcc54e"
      id="F_7f608627-9510-44bc-8ccd-b8cf7bdbaf5f">0000886982</dei:EntityCentralIndexKey>
    <ffd:FormTp
      contextRef="C_30a4b46b-a006-4a8f-88f2-5b12b6bcc54e"
      id="F_4ae05578-0820-470e-b8c2-e3f3ec91ded1">S-3</ffd:FormTp>
    <ffd:RegnFileNb
      contextRef="C_30a4b46b-a006-4a8f-88f2-5b12b6bcc54e"
      id="F_fbd7e049-3df7-4291-9436-6d70c6ec6563">333-284538</ffd:RegnFileNb>
    <ffd:SubmissnTp
      contextRef="C_30a4b46b-a006-4a8f-88f2-5b12b6bcc54e"
      id="F_b05edf8b-7f36-41b2-9012-e04c81cc4ac2">424B2</ffd:SubmissnTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_30a4b46b-a006-4a8f-88f2-5b12b6bcc54e"
      id="F_056ef751-e1c2-4a0b-bd6b-a27274d0db0a">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OffsetTableNa
      contextRef="C_30a4b46b-a006-4a8f-88f2-5b12b6bcc54e"
      id="F_f5a4a5b8-4b5b-44fb-95e1-7760d0796380">N/A</ffd:OffsetTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_30a4b46b-a006-4a8f-88f2-5b12b6bcc54e"
      id="F_7451bb41-ca15-4948-b395-6acdd9c7a74c">&lt;p style="font-size:10pt;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;13,650,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_30a4b46b-a006-4a8f-88f2-5b12b6bcc54e"
      decimals="0"
      id="F_6665dac4-c9d0-4d36-9442-eae71c2c40eb"
      unitRef="U_USD">13650000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
