<?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_22f563bc-86a9-4d5c-98eb-7fa61e632edf">
        <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>
    <dei:EntityCentralIndexKey
      contextRef="C_22f563bc-86a9-4d5c-98eb-7fa61e632edf"
      id="F_692d969a-45b5-446b-92c3-a23589137600">0000886982</dei:EntityCentralIndexKey>
    <ffd:FormTp
      contextRef="C_22f563bc-86a9-4d5c-98eb-7fa61e632edf"
      id="F_828aef68-b806-4b79-87b8-08a5bc7ddc8f">S-3</ffd:FormTp>
    <ffd:SubmissnTp
      contextRef="C_22f563bc-86a9-4d5c-98eb-7fa61e632edf"
      id="F_b1284504-29bb-40aa-83e6-8c97bea8c566">424B2</ffd:SubmissnTp>
    <ffd:OffsetTableNa
      contextRef="C_22f563bc-86a9-4d5c-98eb-7fa61e632edf"
      id="F_e1648792-dca0-41c3-b88e-e9b2b5e9ddc3">N/A</ffd:OffsetTableNa>
    <ffd:OfferingTableNa
      contextRef="C_22f563bc-86a9-4d5c-98eb-7fa61e632edf"
      id="F_4c94f7eb-80a2-4723-8ae3-a7b620449806">N/A</ffd:OfferingTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_22f563bc-86a9-4d5c-98eb-7fa61e632edf"
      id="F_664cb714-f25f-411e-be49-4320fe50f5b3">N/A</ffd:CombinedProspectusTableNa>
    <ffd:RegnFileNb
      contextRef="C_22f563bc-86a9-4d5c-98eb-7fa61e632edf"
      id="F_bbb216b2-d117-4871-a03d-7763a18c63ab">333-284538</ffd:RegnFileNb>
    <ffd:FeeExhibitTp
      contextRef="C_22f563bc-86a9-4d5c-98eb-7fa61e632edf"
      id="F_2056599d-4b17-4482-9030-e0b807c1ea7f">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName
      contextRef="C_22f563bc-86a9-4d5c-98eb-7fa61e632edf"
      id="F_e8bdabe4-108d-4010-ab05-969a0f07a107">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:NrrtvDsclsr
      contextRef="C_22f563bc-86a9-4d5c-98eb-7fa61e632edf"
      id="F_b0e7eaa4-2971-4e92-ad5b-2457906b4358">&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;23,858,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_22f563bc-86a9-4d5c-98eb-7fa61e632edf"
      decimals="-3"
      id="F_5f08ba36-94e7-4ed1-b2d2-74a827607d13"
      unitRef="U_USD">23858000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
