<?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_87d9b768-9a8e-4e33-a402-f99c063bf76e">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-13</startDate>
            <endDate>2026-11-13</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey
      contextRef="C_87d9b768-9a8e-4e33-a402-f99c063bf76e"
      id="F_31cf79aa-954b-4236-bc1c-b8ed9895c819">0000886982</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb
      contextRef="C_87d9b768-9a8e-4e33-a402-f99c063bf76e"
      id="F_904f6b74-2252-490c-80ac-4f7dfddc3c19">333-284538</ffd:RegnFileNb>
    <ffd:FeeExhibitTp
      contextRef="C_87d9b768-9a8e-4e33-a402-f99c063bf76e"
      id="F_8caa2f87-5a78-4025-84f5-a02faaf79ff9">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName
      contextRef="C_87d9b768-9a8e-4e33-a402-f99c063bf76e"
      id="F_82701a8d-6706-4c81-a120-c95f2d6bd24f">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:OffsetTableNa
      contextRef="C_87d9b768-9a8e-4e33-a402-f99c063bf76e"
      id="F_9d7993d4-8e8a-4755-bd66-50a3594ce791">N/A</ffd:OffsetTableNa>
    <ffd:OfferingTableNa
      contextRef="C_87d9b768-9a8e-4e33-a402-f99c063bf76e"
      id="F_2df3bb38-c2ca-4b95-a00d-9440709b3584">N/A</ffd:OfferingTableNa>
    <ffd:FormTp
      contextRef="C_87d9b768-9a8e-4e33-a402-f99c063bf76e"
      id="F_ea424921-514e-49af-80a4-eede888f381e">S-3</ffd:FormTp>
    <ffd:SubmissnTp
      contextRef="C_87d9b768-9a8e-4e33-a402-f99c063bf76e"
      id="F_2b909c95-9363-41c1-b2fc-e95dada11fb1">424B2</ffd:SubmissnTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_87d9b768-9a8e-4e33-a402-f99c063bf76e"
      id="F_83f51f9f-f23b-4338-ab07-327d09615ffb">N/A</ffd:CombinedProspectusTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_87d9b768-9a8e-4e33-a402-f99c063bf76e"
      id="F_197e3c40-826c-4084-aafc-2ede35cc8c98">&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;1,615,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_87d9b768-9a8e-4e33-a402-f99c063bf76e"
      decimals="-3"
      id="F_8058cf84-0304-49c6-b791-6472cd43ff27"
      unitRef="U_USD">1615000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
