<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2021q4"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2021-01-31"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="qngy-20220208.xsd" xlink:type="simple"/>
    <context id="duration_2022-02-08_to_2022-02-08">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001794621</identifier>
        </entity>
        <period>
            <startDate>2022-02-08</startDate>
            <endDate>2022-02-08</endDate>
        </period>
    </context>
    <context id="duration_2022-02-08_to_2022-02-08_us-gaap-StatementClassOfStockAxis_us-gaap-CommonStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001794621</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-02-08</startDate>
            <endDate>2022-02-08</endDate>
        </period>
    </context>
    <context id="duration_2022-02-08_to_2022-02-08_us-gaap-StatementClassOfStockAxis_us-gaap-WarrantMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001794621</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:WarrantMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-02-08</startDate>
            <endDate>2022-02-08</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="duration_2022-02-08_to_2022-02-08"
      id="Hidden_dei_EntityCentralIndexKey_duration_2022-02-08_to_2022-02-08">0001794621</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2022-02-08_to_2022-02-08">8-K/A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="duration_2022-02-08_to_2022-02-08">true</dei:AmendmentFlag>
    <dei:DocumentPeriodEndDate contextRef="duration_2022-02-08_to_2022-02-08">2022-02-08</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="duration_2022-02-08_to_2022-02-08">QUANERGY SYSTEMS, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2022-02-08_to_2022-02-08">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2022-02-08_to_2022-02-08">001-39222</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2022-02-08_to_2022-02-08">88-0535845</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2022-02-08_to_2022-02-08">433 Lakeside Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="duration_2022-02-08_to_2022-02-08">Sunnyvale</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2022-02-08_to_2022-02-08">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2022-02-08_to_2022-02-08">94085</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2022-02-08_to_2022-02-08">408</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2022-02-08_to_2022-02-08">245-9500</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2022-02-08_to_2022-02-08">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2022-02-08_to_2022-02-08">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2022-02-08_to_2022-02-08">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2022-02-08_to_2022-02-08">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2022-02-08_to_2022-02-08_us-gaap-StatementClassOfStockAxis_us-gaap-CommonStockMember">Common Stock, $0.0001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2022-02-08_to_2022-02-08_us-gaap-StatementClassOfStockAxis_us-gaap-CommonStockMember">QNGY</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2022-02-08_to_2022-02-08_us-gaap-StatementClassOfStockAxis_us-gaap-CommonStockMember">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="duration_2022-02-08_to_2022-02-08_us-gaap-StatementClassOfStockAxis_us-gaap-WarrantMember">Warrants, each whole warrant exercisable for one share of Common Stock at an exercise price of $11.50 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2022-02-08_to_2022-02-08_us-gaap-StatementClassOfStockAxis_us-gaap-WarrantMember">QNGY WS</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2022-02-08_to_2022-02-08_us-gaap-StatementClassOfStockAxis_us-gaap-WarrantMember">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2022-02-08_to_2022-02-08">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod contextRef="duration_2022-02-08_to_2022-02-08">false</dei:EntityExTransitionPeriod>
    <dei:AmendmentDescription contextRef="duration_2022-02-08_to_2022-02-08">On February&#160;8, 2022, Quanergy Systems, Inc., a Delaware corporation (the &#x201c;Company&#x201d;) (f/k/a CITIC Capital Acquisition Corp. (&#x201c;CCAC&#x201d;)), filed a Current Report on Form 8-K and Amendment No.&#160;1 on Form 8-K/A (together, the &#x201c;Original Report&#x201d;) to report the Closing and related matters under Items 1.01, 2.01, 3.02, 4.01, 5.01, 5.02, 5.06 and 9.01 of Form 8-K. This Amendment No.&#160;2 amends the</dei:AmendmentDescription>
</xbrl>
