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