<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2021"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:qngy="http://www.QuanergySystemsInc.com/20220401"
  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-20220401.xsd" xlink:type="simple"/>
    <context id="duration_2022-04-01_to_2022-04-01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001794621</identifier>
        </entity>
        <period>
            <startDate>2022-04-01</startDate>
            <endDate>2022-04-01</endDate>
        </period>
    </context>
    <context id="duration_2022-04-01_to_2022-04-01_us-gaap-StatementClassOfStockAxis_qngy-CommonStock0.0001ParValuePerShareMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001794621</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">qngy:CommonStock0.0001ParValuePerShareMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-04-01</startDate>
            <endDate>2022-04-01</endDate>
        </period>
    </context>
    <context id="duration_2022-04-01_to_2022-04-01_us-gaap-StatementClassOfStockAxis_qngy-WarrantsEachWholeWarrantExercisableForOneShareOfCommonStockAtAnExercisePriceOf11.50PerShareMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001794621</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">qngy:WarrantsEachWholeWarrantExercisableForOneShareOfCommonStockAtAnExercisePriceOf11.50PerShareMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-04-01</startDate>
            <endDate>2022-04-01</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="duration_2022-04-01_to_2022-04-01">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2022-04-01_to_2022-04-01"
      id="Hidden_dei_EntityCentralIndexKey">0001794621</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2022-04-01_to_2022-04-01">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2022-04-01_to_2022-04-01">2022-04-01</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="duration_2022-04-01_to_2022-04-01">QUANERGY SYSTEMS, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2022-04-01_to_2022-04-01">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2022-04-01_to_2022-04-01">001-39222</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2022-04-01_to_2022-04-01">88-0535845</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2022-04-01_to_2022-04-01">433 Lakeside Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="duration_2022-04-01_to_2022-04-01">Sunnyvale</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2022-04-01_to_2022-04-01">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2022-04-01_to_2022-04-01">94085</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2022-04-01_to_2022-04-01">(408)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2022-04-01_to_2022-04-01">245-9500</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2022-04-01_to_2022-04-01">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2022-04-01_to_2022-04-01">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2022-04-01_to_2022-04-01">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2022-04-01_to_2022-04-01">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2022-04-01_to_2022-04-01_us-gaap-StatementClassOfStockAxis_qngy-CommonStock0.0001ParValuePerShareMember">Common Stock, $0.0001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2022-04-01_to_2022-04-01_us-gaap-StatementClassOfStockAxis_qngy-CommonStock0.0001ParValuePerShareMember">QNGY</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2022-04-01_to_2022-04-01_us-gaap-StatementClassOfStockAxis_qngy-CommonStock0.0001ParValuePerShareMember">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="duration_2022-04-01_to_2022-04-01_us-gaap-StatementClassOfStockAxis_qngy-WarrantsEachWholeWarrantExercisableForOneShareOfCommonStockAtAnExercisePriceOf11.50PerShareMember">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-04-01_to_2022-04-01_us-gaap-StatementClassOfStockAxis_qngy-WarrantsEachWholeWarrantExercisableForOneShareOfCommonStockAtAnExercisePriceOf11.50PerShareMember">QNGY WS</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2022-04-01_to_2022-04-01_us-gaap-StatementClassOfStockAxis_qngy-WarrantsEachWholeWarrantExercisableForOneShareOfCommonStockAtAnExercisePriceOf11.50PerShareMember">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2022-04-01_to_2022-04-01">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod contextRef="duration_2022-04-01_to_2022-04-01">false</dei:EntityExTransitionPeriod>
</xbrl>
