<?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_fb26e1db-85c4-4845-a3c9-75e654813a6e">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-09-15</startDate>
            <endDate>2026-09-15</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:OfferingTableNa
      contextRef="C_fb26e1db-85c4-4845-a3c9-75e654813a6e"
      id="F_292b0972-6558-41c8-968d-fcf9f8d5ceb8">N/A</ffd:OfferingTableNa>
    <ffd:FormTp
      contextRef="C_fb26e1db-85c4-4845-a3c9-75e654813a6e"
      id="F_165e9279-7e5a-4a74-ba74-bc207b045629">S-3</ffd:FormTp>
    <ffd:RegnFileNb
      contextRef="C_fb26e1db-85c4-4845-a3c9-75e654813a6e"
      id="F_c22e1bc0-8cbd-46a3-80e4-c24cf28ca760">333-284538</ffd:RegnFileNb>
    <ffd:OffsetTableNa
      contextRef="C_fb26e1db-85c4-4845-a3c9-75e654813a6e"
      id="F_6dde1438-b5bd-455b-b77a-9cad8ccda2ef">N/A</ffd:OffsetTableNa>
    <ffd:SubmissnTp
      contextRef="C_fb26e1db-85c4-4845-a3c9-75e654813a6e"
      id="F_e3b8da93-bc08-4fb2-9205-81f9ca767ec7">424B2</ffd:SubmissnTp>
    <ffd:FeeExhibitTp
      contextRef="C_fb26e1db-85c4-4845-a3c9-75e654813a6e"
      id="F_7d13e4f7-929e-4ef5-948e-5c56fb8d22d5">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName
      contextRef="C_fb26e1db-85c4-4845-a3c9-75e654813a6e"
      id="F_28df46ed-dc64-4e9b-b1ed-3eea216a600d">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey
      contextRef="C_fb26e1db-85c4-4845-a3c9-75e654813a6e"
      id="F_5619d8a0-08c1-4fae-8959-9688dfb12606">0000886982</dei:EntityCentralIndexKey>
    <ffd:CombinedProspectusTableNa
      contextRef="C_fb26e1db-85c4-4845-a3c9-75e654813a6e"
      id="F_a72efe0f-f3e8-4f32-a9b1-37ead0af1f99">N/A</ffd:CombinedProspectusTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_fb26e1db-85c4-4845-a3c9-75e654813a6e"
      id="F_df342f67-4127-45f0-bcc6-c6eb54078c43">&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;6,913,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_fb26e1db-85c4-4845-a3c9-75e654813a6e"
      decimals="-3"
      id="F_3cd200a0-bf82-4c07-81e5-fdba75831988"
      unitRef="U_USD">6913000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
