<?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_b220ee7c-f285-450f-92f3-304dc9443268">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-02</startDate>
            <endDate>2026-11-02</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:OfferingTableNa
      contextRef="C_b220ee7c-f285-450f-92f3-304dc9443268"
      id="F_476e57ed-d67c-4973-801f-ce2440dbb028">N/A</ffd:OfferingTableNa>
    <ffd:OffsetTableNa
      contextRef="C_b220ee7c-f285-450f-92f3-304dc9443268"
      id="F_43ad024f-8f7e-4ba8-b570-61cd33d75e77">N/A</ffd:OffsetTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_b220ee7c-f285-450f-92f3-304dc9443268"
      id="F_fb4e89d2-8902-4cf6-bf87-0a2415be0086">0000886982</dei:EntityCentralIndexKey>
    <ffd:CombinedProspectusTableNa
      contextRef="C_b220ee7c-f285-450f-92f3-304dc9443268"
      id="F_e4b52d7c-2c6d-412e-b24d-84048829d75a">N/A</ffd:CombinedProspectusTableNa>
    <ffd:RegnFileNb
      contextRef="C_b220ee7c-f285-450f-92f3-304dc9443268"
      id="F_dc56671f-6267-4fa4-9532-a4e21fe456b6">333-284538</ffd:RegnFileNb>
    <ffd:SubmissnTp
      contextRef="C_b220ee7c-f285-450f-92f3-304dc9443268"
      id="F_f547e6d1-0c60-4689-b933-566d23eef21e">424B2</ffd:SubmissnTp>
    <ffd:FormTp
      contextRef="C_b220ee7c-f285-450f-92f3-304dc9443268"
      id="F_adabb4a6-2f4d-444d-88f3-2effb04d4cf9">S-3</ffd:FormTp>
    <ffd:FeeExhibitTp
      contextRef="C_b220ee7c-f285-450f-92f3-304dc9443268"
      id="F_c1689a96-47df-49da-9aad-dbe58780b04c">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName
      contextRef="C_b220ee7c-f285-450f-92f3-304dc9443268"
      id="F_29f54ee2-e444-4fba-8ed7-04bf88d426cd">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:NrrtvDsclsr
      contextRef="C_b220ee7c-f285-450f-92f3-304dc9443268"
      id="F_51d62304-fff3-42a8-ab74-6ff648305742">&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;2,464,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_b220ee7c-f285-450f-92f3-304dc9443268"
      decimals="-3"
      id="F_84f04565-59b6-4e5f-b499-317f79c56fab"
      unitRef="U_USD">2464000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
