<?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-20250520.xsd" xlink:type="simple"/>
    <context id="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000003197</identifier>
        </entity>
        <period>
            <startDate>2025-05-20</startDate>
            <endDate>2025-05-20</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_0e6a778b-e9b9-4f3e-9cbe-6263cfb85f43">0000003197</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_fae825df-5c65-4d90-bd45-a602c59b71d6">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_cec883d1-da54-48ee-996f-5a192ab1ee82">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_ffd9dcc5-5a28-4d06-acaf-91d666cefdcc">2025-05-20</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_2f3c03d8-2e39-46ee-94b8-3a1d8d6f33e6">CECO ENVIRONMENTAL CORP.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_5089b674-20bb-4606-8f95-980a09775305">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_e7f190df-cb70-424b-85a7-811ed19be610">000-7099</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_242c1961-5ab5-4e55-b833-2d8556943f66">13-2566064</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_a708cdff-b81e-4735-99f3-f57581d6d88f">5080 Spectrum Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_00d7c6cc-cddf-4f95-bd91-b30f18b69eb2">Suite 800E</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_1d093458-2a75-4d23-98a0-efbdba9b2145">Addison</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_b7e3208a-c33b-4849-a55d-c3971798c5b2">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_ab9c6b8f-06dd-4707-abea-1a9b9509ea20">75001</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_89317e9b-fe50-45d3-a44c-7075b098b101">214</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_f8193dea-2829-4b2a-bf1e-9e796419983b">357-6181</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_c3b93cac-4cd3-4ca4-ae67-8428039d902b">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_8de43da1-b0e4-4597-9573-fa617e774820">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_ce2e80da-a437-4255-80ea-49cd786023c1">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_4d1f5648-3c37-47c5-a059-164356bb78dc">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_97ce7fed-6630-437f-b008-26f070e8cd54">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_279a6af1-76b8-4d19-921b-9c8261e743a9">CECO</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_f9569eff-e83f-4a67-91ab-c1980105b7e9">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_1ce3d2aa-b5aa-44d4-9408-f02e05c7a73c"
      id="F_5a48c39b-8156-4616-b426-bcb69e1e1d1b">false</dei:EntityEmergingGrowthCompany>
</xbrl>
