<?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_aeda5ffb-7980-462e-bc1a-6b92c94a062d">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-09-11</startDate>
            <endDate>2026-09-11</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:CombinedProspectusTableNa
      contextRef="C_aeda5ffb-7980-462e-bc1a-6b92c94a062d"
      id="F_57215b16-5a07-4dd1-bd19-20ca5407a12e">N/A</ffd:CombinedProspectusTableNa>
    <ffd:RegnFileNb
      contextRef="C_aeda5ffb-7980-462e-bc1a-6b92c94a062d"
      id="F_ddb82b69-ec6e-4869-a498-3dc5c5e5dfff">333-284538</ffd:RegnFileNb>
    <ffd:OfferingTableNa
      contextRef="C_aeda5ffb-7980-462e-bc1a-6b92c94a062d"
      id="F_e87015cc-3835-46b1-bd69-a2d6b7d8ed64">N/A</ffd:OfferingTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_aeda5ffb-7980-462e-bc1a-6b92c94a062d"
      id="F_e5f64235-c1ab-4ef4-ad6c-a7db1a3d1f92">0000886982</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp
      contextRef="C_aeda5ffb-7980-462e-bc1a-6b92c94a062d"
      id="F_9270bb0a-e492-43b9-8c9c-dbaec9e66f00">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:SubmissnTp
      contextRef="C_aeda5ffb-7980-462e-bc1a-6b92c94a062d"
      id="F_8c4b4060-bff6-4ff2-996c-8ffd2a30201a">424B2</ffd:SubmissnTp>
    <dei:EntityRegistrantName
      contextRef="C_aeda5ffb-7980-462e-bc1a-6b92c94a062d"
      id="F_fa12ff22-9dd5-44d9-9321-81a2c1ef98b2">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FormTp
      contextRef="C_aeda5ffb-7980-462e-bc1a-6b92c94a062d"
      id="F_bb730f22-4a9b-4f8b-84e5-25fbda446509">S-3</ffd:FormTp>
    <ffd:OffsetTableNa
      contextRef="C_aeda5ffb-7980-462e-bc1a-6b92c94a062d"
      id="F_09a03d5f-5772-44fe-b273-9fe69f05def1">N/A</ffd:OffsetTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_aeda5ffb-7980-462e-bc1a-6b92c94a062d"
      id="F_f6c8ca83-8773-49d5-b001-37d9545a1984">&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;8,965,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_aeda5ffb-7980-462e-bc1a-6b92c94a062d"
      decimals="-3"
      id="F_7a81491a-3347-4fdf-91cb-0569f8588a8a"
      unitRef="U_USD">8965000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
