<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ceco-20240430.xsd" xlink:type="simple"/>
    <context id="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000003197</identifier>
        </entity>
        <period>
            <startDate>2024-04-30</startDate>
            <endDate>2024-04-30</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_a9317e91-110b-46ab-9839-ce154ac6889e">0000003197</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_25b75deb-8b53-43db-8ec7-a010cdc3073a">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_e56fc058-a7d1-4e8b-a9e1-802620a3d0e6">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_1e14eb89-d98b-4988-964c-964549ae2157">2024-04-30</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_b370bc9d-14b9-4156-ae8a-191b095a36d5">CECO ENVIRONMENTAL CORP.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_409b67c4-8446-4dfc-9a3e-023d961cb74a">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_ee48a7ec-df4d-40b8-8cbd-96e8334d232f">000-7099</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_a25c6a6d-0a8f-4073-a52a-1b70791200d5">13-2566064</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_d5556924-e4e8-4ff0-b1a8-93041605cb19">14651 North Dallas Parkway</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_5a1ad99a-ab36-4a74-88cd-f44b5299db44">Suite 500</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_cc70faf7-6a52-4cdf-b4fa-5cf4f8119d96">Dallas</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_dff14f2c-bd15-423f-b200-cf4e96cd1fbf">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_c9fbb5d6-b3da-4a65-9d55-1f1f7246713d">75254</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_6885c990-8a60-4e63-8287-e604fdb7bce8">214</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_018e0c32-2e92-483d-85e3-97cfd53fc47d">357-6181</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_e0e88814-0f4a-4385-8094-3475ebfd847e">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_2310a73c-fa88-401c-bd6a-f9c6abb3a553">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_6c59b975-95c9-4fb1-a0ef-2e27eedf870e">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_f14cf445-6c58-40d2-b10a-bcec21f47b50">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_77614b86-67b7-42b7-92bf-b29d8ed3e012">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_6a2c2b62-f25a-48fa-83ff-70bbae66dbab">CECO</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_31f03f4f-b4fe-4ba3-9f5d-e32f98e5ac7b">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_c7de6e64-a816-43a0-abb9-afcbc8fa0bcc"
      id="F_f7ee3fa1-748d-4aad-b865-0685c7b1384c">false</dei:EntityEmergingGrowthCompany>
</xbrl>
