<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:gpcr="http://structuretx.com/20260226"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="gpcr-20260226.xsd" xlink:type="simple"/>
    <context id="AsOf2026-02-26">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001888886</identifier>
        </entity>
        <period>
            <startDate>2026-02-26</startDate>
            <endDate>2026-02-26</endDate>
        </period>
    </context>
    <context id="From2026-02-262026-02-26_custom_AmericanDepositarySharesAdssEachRepresentingThreeOrdinarySharesParValue0.0001PerOrdinaryShareMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001888886</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">gpcr:AmericanDepositarySharesAdssEachRepresentingThreeOrdinarySharesParValue0.0001PerOrdinaryShareMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-02-26</startDate>
            <endDate>2026-02-26</endDate>
        </period>
    </context>
    <context id="From2026-02-262026-02-26_custom_OrdinarySharesParValue0.0001PerShareMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001888886</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">gpcr:OrdinarySharesParValue0.0001PerShareMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-02-26</startDate>
            <endDate>2026-02-26</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="AsOf2026-02-26" id="Fact000003">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="AsOf2026-02-26" id="Fact000004">0001888886</dei:EntityCentralIndexKey>
    <dei:NoTradingSymbolFlag
      contextRef="From2026-02-262026-02-26_custom_OrdinarySharesParValue0.0001PerShareMember"
      id="xdx2ixbrl0031">true</dei:NoTradingSymbolFlag>
    <dei:DocumentType contextRef="AsOf2026-02-26" id="Fact000010">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="AsOf2026-02-26" id="Fact000011">2026-02-26</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="AsOf2026-02-26" id="Fact000012">Structure Therapeutics Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="AsOf2026-02-26" id="Fact000013">E9</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="AsOf2026-02-26" id="Fact000014">001-41608</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="AsOf2026-02-26" id="Fact000015">98-1480821</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="AsOf2026-02-26" id="Fact000016">601     Gateway Blvd.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="AsOf2026-02-26" id="Fact000017">Suite 900</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="AsOf2026-02-26" id="Fact000018">South     San Francisco</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="AsOf2026-02-26" id="Fact000019">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="AsOf2026-02-26" id="Fact000020">94080</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="AsOf2026-02-26" id="Fact000021">650</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="AsOf2026-02-26" id="Fact000022">457-1978</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="AsOf2026-02-26" id="Fact000023">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="AsOf2026-02-26" id="Fact000024">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="AsOf2026-02-26" id="Fact000025">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="AsOf2026-02-26" id="Fact000026">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="From2026-02-262026-02-26_custom_AmericanDepositarySharesAdssEachRepresentingThreeOrdinarySharesParValue0.0001PerOrdinaryShareMember"
      id="Fact000027">American     Depositary Shares (ADSs), each representing three</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="From2026-02-262026-02-26_custom_AmericanDepositarySharesAdssEachRepresentingThreeOrdinarySharesParValue0.0001PerOrdinaryShareMember"
      id="Fact000028">GPCR</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="From2026-02-262026-02-26_custom_AmericanDepositarySharesAdssEachRepresentingThreeOrdinarySharesParValue0.0001PerOrdinaryShareMember"
      id="Fact000029">NASDAQ</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="From2026-02-262026-02-26_custom_OrdinarySharesParValue0.0001PerShareMember"
      id="Fact000030">Ordinary     shares, par value $0.0001 per share*</dei:Security12bTitle>
    <dei:SecurityExchangeName
      contextRef="From2026-02-262026-02-26_custom_OrdinarySharesParValue0.0001PerShareMember"
      id="Fact000032">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="AsOf2026-02-26" id="Fact000033">false</dei:EntityEmergingGrowthCompany>
</xbrl>
