<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ceco-20241029.xsd" xlink:type="simple"/>
    <context id="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000003197</identifier>
        </entity>
        <period>
            <startDate>2024-10-29</startDate>
            <endDate>2024-10-29</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_c4b8a3dc-8c4a-4e9e-b5b6-0f7b6fbe4978">0000003197</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_f8b9f183-901a-406a-8fa7-85f8c2bf5031">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_8764873c-dbae-4dc1-93cb-70bfa5ed5041">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_5f124575-e4b4-416f-bd77-de22837a81a9">2024-10-29</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_165c795e-bf8c-4a24-86f5-f93da86cbced">CECO ENVIRONMENTAL CORP.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_477f0b22-2d59-482c-b2f3-f1f7cb2ba584">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_e102cfd4-6f8f-4c9b-ab24-388b7f5842a8">000-7099</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_ef4209ac-2be7-4345-90e6-69ffc4b2440f">13-2566064</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_3a6b8fad-840d-4957-ab03-92c1c895a12d">5080 Spectrum Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_7d9417cd-28a6-4311-84c8-d4eb65adc8ab">East Tower</dei:EntityAddressAddressLine2>
    <dei:EntityAddressAddressLine3
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_ba196b6b-9899-4276-9942-3e0b4a96e000">Suite 800E</dei:EntityAddressAddressLine3>
    <dei:EntityAddressCityOrTown
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_8ef76168-b34c-4feb-b032-5f4a688efc0a"> Addison</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_fcfc13aa-a259-46c8-83fb-1520709d210f">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_1b585bbb-ed85-4b1d-bf4d-37944749fda0">75001</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_e696905a-3018-4a88-859c-0245e632630f">214</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_86aa4574-4997-4ea4-a285-f62f330dca2a">357-6181</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_79bb9ddc-1247-40c9-a1ea-a192e84ca19e">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_27677218-45b5-42d9-bf8e-7601a63a803e">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_43cc9b2e-50eb-47a5-8c78-0c230a09b42c">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_3fda5687-affb-4932-9b4b-2ea22c918bfc">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_262450db-b1bd-497c-a8c6-0163095382d3">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_59a93796-5193-4a44-bb38-3aa5ce273bb8">CECO</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_dd2425c0-a8bf-4a2b-868a-2fca0948d4a2">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_d4db519e-b3de-4267-a0ce-cfa5d2006d66"
      id="F_3d509a8f-0738-40f5-af76-34ed9185d3d1">false</dei:EntityEmergingGrowthCompany>
</xbrl>
