{
 "instance": {
  "meg-10k_20211231.htm": {
   "axisCustom": 0,
   "axisStandard": 36,
   "contextCount": 510,
   "dts": {
    "calculationLink": {
     "local": [
      "meg-20211231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "meg-20211231_def.xml"
     ]
    },
    "inline": {
     "local": [
      "meg-10k_20211231.htm"
     ]
    },
    "labelLink": {
     "local": [
      "meg-20211231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "meg-20211231_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "meg-20211231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/arcrole/factExplanatory-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-types-2021-01-31.xsd",
      "https://xbrl.sec.gov/country/2021/country-2021.xsd",
      "https://xbrl.sec.gov/currency/2021/currency-2021.xsd",
      "https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd",
      "https://xbrl.sec.gov/exch/2021/exch-2021.xsd",
      "https://xbrl.sec.gov/naics/2021/naics-2021.xsd",
      "https://xbrl.sec.gov/sic/2021/sic-2021.xsd",
      "https://xbrl.sec.gov/stpr/2021/stpr-2021.xsd"
     ]
    }
   },
   "elementCount": 945,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2021-01-31": 59,
    "http://montrose-env.com/20211231": 19,
    "http://xbrl.sec.gov/dei/2021q4": 4,
    "total": 82
   },
   "keyCustom": 164,
   "keyStandard": 539,
   "memberCustom": 80,
   "memberStandard": 64,
   "nsprefix": "meg",
   "nsuri": "http://montrose-env.com/20211231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "100000 - Document - Document and Entity Information",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100090 - Disclosure - Summary of New Accounting Pronouncements",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncements",
     "shortName": "Summary of New Accounting Pronouncements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesStockOptionsExercised",
      "reportCount": 1,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101010 - Disclosure - Stockholders' Equity (Deficit) - Summary of Stock Option Activity (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails",
     "shortName": "Stockholders' Equity (Deficit) - Summary of Stock Option Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapPlanNameAxis_megMontroseTwoThousandSeventeenStockIncentivePlanMember_20210101_20211231",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharePrice",
      "reportCount": 1,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101020 - Disclosure - Stockholders' Equity (Deficit) - Summary of Weighted Average Assumptions Used in Black-Sholes Option-pricing Model (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails",
     "shortName": "Stockholders' Equity (Deficit) - Summary of Weighted Average Assumptions Used in Black-Sholes Option-pricing Model (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "4",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:ScheduleOfCommonStockForFutureIssuanceTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockCapitalSharesReservedForFutureIssuance",
      "reportCount": 1,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101030 - Disclosure - Stockholders' Equity (Deficit) - Schedule of Common Stock Reserved for Future Issuance (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
     "shortName": "Stockholders' Equity (Deficit) - Schedule of Common Stock Reserved for Future Issuance (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:ScheduleOfCommonStockForFutureIssuanceTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapFairValueByLiabilityClassAxis_megWarrantOptionMember_20201231",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockCapitalSharesReservedForFutureIssuance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:ScheduleOfCommonStockForFutureIssuanceTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockCapitalSharesReservedForFutureIssuance",
      "reportCount": 1,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101040 - Disclosure - Stockholders' Equity (Deficit) - Schedule of Common Stock Reserved for Future Issuance (Parenthetical) (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceParentheticalDetails",
     "shortName": "Stockholders' Equity (Deficit) - Schedule of Common Stock Reserved for Future Issuance (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapPlanNameAxis_megMontroseTwoThousandThirteenStockIncentivePlanMember_us-gaapSubsequentEventTypeAxis_us-gaapSubsequentEventMember_20220131",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockCapitalSharesReservedForFutureIssuance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101050 - Disclosure - Net Loss Per Share - Computation of Basic and Diluted Net (Loss) Income Per Share Attributable to Common Stockholders (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareComputationOfBasicAndDilutedNetLossIncomePerShareAttributableToCommonStockholdersDetails",
     "shortName": "Net Loss Per Share - Computation of Basic and Diluted Net (Loss) Income Per Share Attributable to Common Stockholders (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "meg:NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_us-gaapEmployeeStockOptionMember_20210101_20211231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101060 - Disclosure - Net Loss Per Share - Equity Shares Excluded from Calculation of Diluted Net Loss per Share Attributable to Common Stockholders (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareEquitySharesExcludedFromCalculationOfDilutedNetLossPerShareAttributableToCommonStockholdersDetails",
     "shortName": "Net Loss Per Share - Equity Shares Excluded from Calculation of Diluted Net Loss per Share Attributable to Common Stockholders (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_us-gaapEmployeeStockOptionMember_20210101_20211231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfOperatingSegments",
      "reportCount": 1,
      "unitRef": "U_megSegment",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101070 - Disclosure - Segment Information - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationAdditionalInformationDetails",
     "shortName": "Segment Information - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101080 - Disclosure - Segment Information - Components of Segment Revenues and Adjusted EBITDA (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails",
     "shortName": "Segment Information - Components of Segment Revenues and Adjusted EBITDA (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_srtConsolidationItemsAxis_us-gaapOperatingSegmentsMember_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "meg:AdjustedEarningsBeforeInterestTaxesDepreciationAndAmortization",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101090 - Disclosure - Segment Information - Reconciliation of Segment Measure to Loss Before Benefit from Income Taxes (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails",
     "shortName": "Segment Information - Reconciliation of Segment Measure to Loss Before Benefit from Income Taxes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentIncomeNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R109": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsPayableRelatedPartiesCurrentAndNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101100 - Disclosure - Related-Party Transactions - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
     "shortName": "Related-Party Transactions - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsPayableRelatedPartiesCurrentAndNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:RevenuesAndAccountsReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100100 - Disclosure - Revenues and Accounts Receivable",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivable",
     "shortName": "Revenues and Accounts Receivable",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:RevenuesAndAccountsReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R110": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DefinedContributionPlanTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DescriptionOfDefinedContributionPensionAndOtherPostretirementPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101110 - Disclosure - Defined Contribution Plan - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails",
     "shortName": "Defined Contribution Plan - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DefinedContributionPlanTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DescriptionOfDefinedContributionPensionAndOtherPostretirementPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R111": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:ScheduleOfCommonStockForFutureIssuanceTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockCapitalSharesReservedForFutureIssuance",
      "reportCount": 1,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101120 - Disclosure - Subsequent Events - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
     "shortName": "Subsequent Events - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapBusinessAcquisitionAxis_megEnvironmentalStandardsIncMember_20210131",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionPercentageOfVotingInterestsAcquired",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     }
    },
    "R112": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsToAcquireBusinessesGross",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101130 - Disclosure - Subsequent Events - Schedule of Elements of Purchase Price of Acquisitions (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsScheduleOfElementsOfPurchasePriceOfAcquisitionsDetails",
     "shortName": "Subsequent Events - Schedule of Elements of Purchase Price of Acquisitions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:SubsequentEventsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapBusinessAcquisitionAxis_megEnvironmentalStandardsIncMember_20210131_20210131",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:PaymentsToAcquireBusinessesGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:PrepaidAndOtherCurrentAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100110 - Disclosure - Prepaid and Other Current Assets",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosurePrepaidAndOtherCurrentAssets",
     "shortName": "Prepaid and Other Current Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:PrepaidAndOtherCurrentAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100120 - Disclosure - Property and Equipment, Net",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNet",
     "shortName": "Property and Equipment, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:LesseeOperatingAndFinanceLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100130 - Disclosure - Leases",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeases",
     "shortName": "Leases",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:LesseeOperatingAndFinanceLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100140 - Disclosure - Business Acquisitions",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitions",
     "shortName": "Business Acquisitions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100150 - Disclosure - Goodwill and Intangible Assets",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssets",
     "shortName": "Goodwill and Intangible Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100160 - Disclosure - Accounts Payable and Other Accrued Liabilities",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilities",
     "shortName": "Accounts Payable and Other Accrued Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100170 - Disclosure - Accrued Payroll and Benefits",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefits",
     "shortName": "Accrued Payroll and Benefits",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100180 - Disclosure - Income Taxes",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxes",
     "shortName": "Income Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100010 - Statement - CONSOLIDATED STATEMENTS OF FINANCIAL POSITION",
     "role": "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION",
     "shortName": "CONSOLIDATED STATEMENTS OF FINANCIAL POSITION",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:WarrantOptionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100190 - Disclosure - Warrant Options",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptions",
     "shortName": "Warrant Options",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:WarrantOptionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100200 - Disclosure - Debt",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebt",
     "shortName": "Debt",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100210 - Disclosure - Fair Value of Financial Instruments",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstruments",
     "shortName": "Fair Value of Financial Instruments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100220 - Disclosure - Commitments and Contingencies",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:RedeemablePreferredStockDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100230 - Disclosure - Redeemable Series A-1 Preferred Stock",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStock",
     "shortName": "Redeemable Series A-1 Preferred Stock",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:RedeemablePreferredStockDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:ConvertibleAndRedeemableSeriesaTwoPreferredStockTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100240 - Disclosure - Convertible and Redeemable Series A-2 Preferred Stock",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStock",
     "shortName": "Convertible and Redeemable Series A-2 Preferred Stock",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:ConvertibleAndRedeemableSeriesaTwoPreferredStockTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100250 - Disclosure - Stockholders' Equity (Deficit)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficit",
     "shortName": "Stockholders' Equity (Deficit)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100260 - Disclosure - Net Loss Per Share",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShare",
     "shortName": "Net Loss Per Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100270 - Disclosure - Segment Information",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformation",
     "shortName": "Segment Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100280 - Disclosure - Related-Party Transactions",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactions",
     "shortName": "Related-Party Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100020 - Statement - CONSOLIDATED STATEMENTS OF FINANCIAL POSITION (Parenthetical)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical",
     "shortName": "CONSOLIDATED STATEMENTS OF FINANCIAL POSITION (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockSharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedContributionPlanTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100290 - Disclosure - Defined Contribution Plan",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlan",
     "shortName": "Defined Contribution Plan",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedContributionPlanTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100300 - Disclosure - Subsequent Events",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100310 - Disclosure - Description of the Business and Basis of Presentation (Policies)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies",
     "shortName": "Description of the Business and Basis of Presentation (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "meg:RevenuesAndAccountsReceivableTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100320 - Disclosure - Revenues and Accounts Receivable (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableTables",
     "shortName": "Revenues and Accounts Receivable (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "meg:RevenuesAndAccountsReceivableTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "meg:PrepaidAndOtherCurrentAssetsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:ScheduleOfPrepaidAndOtherCurrentAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100330 - Disclosure - Prepaid and Other Current Assets (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosurePrepaidAndOtherCurrentAssetsTables",
     "shortName": "Prepaid and Other Current Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "meg:PrepaidAndOtherCurrentAssetsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:ScheduleOfPrepaidAndOtherCurrentAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100340 - Disclosure - Property and Equipment, Net (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetTables",
     "shortName": "Property and Equipment, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100350 - Disclosure - Leases (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesTables",
     "shortName": "Leases (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100360 - Disclosure - Business Acquisitions (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsTables",
     "shortName": "Business Acquisitions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfGoodwillTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100370 - Disclosure - Goodwill and Intangible Assets (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsTables",
     "shortName": "Goodwill and Intangible Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfGoodwillTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100380 - Disclosure - Accounts Payable and Other Accrued Liabilities (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesTables",
     "shortName": "Accounts Payable and Other Accrued Liabilities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100030 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS",
     "role": "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
     "shortName": "CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CostOfRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100390 - Disclosure - Accrued Payroll and Benefits (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefitsTables",
     "shortName": "Accrued Payroll and Benefits (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100400 - Disclosure - Income Taxes (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesTables",
     "shortName": "Income Taxes (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:DebtDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100410 - Disclosure - Debt (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtTables",
     "shortName": "Debt (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:DebtDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100420 - Disclosure - Fair Value of Financial Instruments (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsTables",
     "shortName": "Fair Value of Financial Instruments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:SummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100430 - Disclosure - Stockholders' Equity (Deficit) (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables",
     "shortName": "Stockholders' Equity (Deficit) (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:SummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100440 - Disclosure - Net Loss Per Share (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareTables",
     "shortName": "Net Loss Per Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100450 - Disclosure - Segment Information (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationTables",
     "shortName": "Segment Information (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100460 - Disclosure - Subsequent Events (Tables)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsTables",
     "shortName": "Subsequent Events (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapBusinessAcquisitionAxis_megEnvironmentalStandardsIncMember_20210101_20211231",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:EntityFormationMonthAndYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100470 - Disclosure - Description of the Business and Basis of Presentation - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails",
     "shortName": "Description of the Business and Basis of Presentation - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:EntityFormationMonthAndYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "us-gaap:ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairmentOfLongLivedAssetsToBeDisposedOf",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100480 - Disclosure - Significant Accounting Policies - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
     "shortName": "Significant Accounting Policies - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "us-gaap:ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairmentOfLongLivedAssetsToBeDisposedOf",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapStatementClassOfStockAxis_megRedeemableSeriesAOnePreferredStockMember_20181231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TemporaryEquityCarryingAmountAttributableToParent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100040 - Statement - CONSOLIDATED STATEMENTS OF REDEEMABLE SERIES A-1 PREFERRED STOCK, CONVERTIBLE AND REDEEMABLE SERIES A-2 PREFERRED STOCK AND STOCKHOLDERS EQUITY (DEFICIT)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT",
     "shortName": "CONSOLIDATED STATEMENTS OF REDEEMABLE SERIES A-1 PREFERRED STOCK, CONVERTIBLE AND REDEEMABLE SERIES A-2 PREFERRED STOCK AND STOCKHOLDERS EQUITY (DEFICIT)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapStatementClassOfStockAxis_megRedeemableSeriesAOnePreferredStockMember_20181231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TemporaryEquityCarryingAmountAttributableToParent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100490 - Disclosure - Summary of New Accounting Pronouncements - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails",
     "shortName": "Summary of New Accounting Pronouncements - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
       "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapAdjustmentsForNewAccountingPronouncementsAxis_us-gaapAccountingStandardsUpdate201912Member_20211231",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnbilledReceivablesCurrent",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100500 - Disclosure - Revenues and Accounts Receivable - Schedule of Contract Balances (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfContractBalancesDetails",
     "shortName": "Revenues and Accounts Receivable - Schedule of Contract Balances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "meg:RevenuesAndAccountsReceivableTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "meg:ContractsWithCustomerAssetsAcquiredThroughBusinessAcquisitions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100510 - Disclosure - Revenues and Accounts Receivable - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails",
     "shortName": "Revenues and Accounts Receivable - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "meg:RevenuesAndAccountsReceivableTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "meg:ContractsWithCustomerAssetsAcquiredThroughBusinessAcquisitions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueRemainingPerformanceObligation",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100520 - Disclosure - Revenues and Accounts Receivable - Additional Information (Details1)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails1",
     "shortName": "Revenues and Accounts Receivable - Additional Information (Details1)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapRevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_2022-01-01_20211231",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:RevenueRemainingPerformanceObligation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsReceivableGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100530 - Disclosure - Revenues and Accounts Receivable - Schedule of Accounts Receivable, Net (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAccountsReceivableNetDetails",
     "shortName": "Revenues and Accounts Receivable - Schedule of Accounts Receivable, Net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsReceivableGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20191231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllowanceForDoubtfulAccountsReceivable",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100540 - Disclosure - Revenues and Accounts Receivable - Schedule of Allowance for Doubtful Accounts (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAllowanceForDoubtfulAccountsDetails",
     "shortName": "Revenues and Accounts Receivable - Schedule of Allowance for Doubtful Accounts (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AllowanceForDoubtfulAccountsReceivableWriteOffs",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepositsAssetsCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100550 - Disclosure - Prepaid and Other Current Assets - Schedule of Prepaid and Other Current Assets (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosurePrepaidAndOtherCurrentAssetsScheduleOfPrepaidAndOtherCurrentAssetsDetails",
     "shortName": "Prepaid and Other Current Assets - Schedule of Prepaid and Other Current Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepositsAssetsCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100560 - Disclosure - Property and Equipment, Net - Property and Equipment, Net (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails",
     "shortName": "Property and Equipment, Net - Property and Equipment, Net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:Depreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100570 - Disclosure - Property and Equipment, Net - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetAdditionalInformationDetails",
     "shortName": "Property and Equipment, Net - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:Depreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LeaseCostTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapIncomeStatementLocationAxis_us-gaapSellingGeneralAndAdministrativeExpensesMember_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseExpense",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100580 - Disclosure - Leases - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
     "shortName": "Leases - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "meg:LesseeOperatingAndFinanceLeasesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_srtRangeAxis_srtMinimumMember_20210101_20211231",
      "decimals": null,
      "lang": "en-US",
      "name": "meg:LesseeOperatingAndFinanceLeaseTermOfContract",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100050 - Statement - CONSOLIDATED STATEMENTS OF REDEEMABLE SERIES A-1 PREFERRED STOCK, CONVERTIBLE AND REDEEMABLE SERIES A-2 PREFERRED STOCK AND STOCKHOLDERS EQUITY (DEFICIT) (Parenthetical)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICITParenthetical",
     "shortName": "CONSOLIDATED STATEMENTS OF REDEEMABLE SERIES A-1 PREFERRED STOCK, CONVERTIBLE AND REDEEMABLE SERIES A-2 PREFERRED STOCK AND STOCKHOLDERS EQUITY (DEFICIT) (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LeaseCostTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100590 - Disclosure - Leases - Summary of Components of Lease Expense (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails",
     "shortName": "Leases - Summary of Components of Lease Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LeaseCostTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:ScheduleOfCashFlowSupplementalDisclosuresRelatedToLeasesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinanceLeaseInterestPaymentOnLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100600 - Disclosure - Leases - Summary of Supplemental Cash Flow Information Related To Leases (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfSupplementalCashFlowInformationRelatedToLeasesDetails",
     "shortName": "Leases - Summary of Supplemental Cash Flow Information Related To Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:ScheduleOfCashFlowSupplementalDisclosuresRelatedToLeasesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinanceLeaseInterestPaymentOnLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:SummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100610 - Disclosure - Leases - Summary of Weighted Average Remaining Lease Terms and Weighted Average Discount Rates (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesDetails",
     "shortName": "Leases - Summary of Weighted Average Remaining Lease Terms and Weighted Average Discount Rates (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:SummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:ScheduleOfMaturitiesOfLeaseLiabilitiesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100620 - Disclosure - Leases - Summary of Maturities of Lease Liabilities (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails",
     "shortName": "Leases - Summary of Maturities of Lease Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:ScheduleOfMaturitiesOfLeaseLiabilitiesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionCostOfAcquiredEntityTransactionCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100640 - Disclosure - Business Acquisitions - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
     "shortName": "Business Acquisitions - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionCostOfAcquiredEntityTransactionCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsToAcquireBusinessesGross",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100650 - Disclosure - Business Acquisitions - Summary of Elements of Purchase Price of Acquisitions (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails",
     "shortName": "Business Acquisitions - Summary of Elements of Purchase Price of Acquisitions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100660 - Disclosure - Business Acquisitions - Summary of Purchase Price Attributable to Acquisitions (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
     "shortName": "Business Acquisitions - Summary of Purchase Price Attributable to Acquisitions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapFiniteLivedIntangibleAssetsByMajorClassAxis_us-gaapCustomerRelationshipsMember_20190101_20191231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100670 - Disclosure - Business Acquisitions - Weighted Average Useful Lives for Acquired Identifiable Intangible Assets (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails",
     "shortName": "Business Acquisitions - Weighted Average Useful Lives for Acquired Identifiable Intangible Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionsProFormaRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100680 - Disclosure - Business Acquisitions - Summary of Supplemental Unaudited Pro-Forma Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfSupplementalUnauditedProFormaInformationDetails",
     "shortName": "Business Acquisitions - Summary of Supplemental Unaudited Pro-Forma Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionsProFormaRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100690 - Disclosure - Goodwill and Intangible Assets - Schedule of Amounts Related to Goodwill (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToGoodwillDetails",
     "shortName": "Goodwill and Intangible Assets - Schedule of Amounts Related to Goodwill (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:GoodwillAcquiredDuringPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100060 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "role": "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "meg:OperatingAndFinanceLeaseRightOfUseAssetAmortization",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100700 - Disclosure - Goodwill and Intangible Assets - Schedule of Amounts Related to Finite-Lived Intangible Assets (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails",
     "shortName": "Goodwill and Intangible Assets - Schedule of Amounts Related to Finite-Lived Intangible Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AmortizationOfIntangibleAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100710 - Disclosure - Goodwill and Intangible Assets - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
     "shortName": "Goodwill and Intangible Assets - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AmortizationOfIntangibleAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100720 - Disclosure - Goodwill and Intangible Assets - Schedule of Future Amortization Expense (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfFutureAmortizationExpenseDetails",
     "shortName": "Goodwill and Intangible Assets - Schedule of Future Amortization Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock",
       "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsPayableCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100730 - Disclosure - Accounts Payable and Other Accrued Liabilities - Summary of Accounts Payable and Other Accrued Liabilities (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesSummaryOfAccountsPayableAndOtherAccruedLiabilitiesDetails",
     "shortName": "Accounts Payable and Other Accrued Liabilities - Summary of Accounts Payable and Other Accrued Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock",
       "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsPayableCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
       "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccruedBonusesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100740 - Disclosure - Accrued Payroll and Benefits - Schedule of Accrued Payroll and Benefits (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefitsScheduleOfAccruedPayrollAndBenefitsDetails",
     "shortName": "Accrued Payroll and Benefits - Schedule of Accrued Payroll and Benefits (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
       "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccruedBonusesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100750 - Disclosure - Income Taxes - Summary of Geographical Breakdown of Income Before Provision for (Loss) Income Taxes (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfGeographicalBreakdownOfIncomeBeforeProvisionForLossIncomeTaxesDetails",
     "shortName": "Income Taxes - Summary of Geographical Breakdown of Income Before Provision for (Loss) Income Taxes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100760 - Disclosure - Income Taxes - Summary of Income Tax Expense (Benefit) (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails",
     "shortName": "Income Taxes - Summary of Income Tax Expense (Benefit) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100770 - Disclosure - Income Taxes - Schedule of Significant Components of Deferred Tax Assets and Liabilities (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails",
     "shortName": "Income Taxes - Schedule of Significant Components of Deferred Tax Assets and Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100780 - Disclosure - Income Taxes - Reconciliation of Federal Statutory Income Tax Rate to Effective Income Tax Rate (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails",
     "shortName": "Income Taxes - Reconciliation of Federal Statutory Income Tax Rate to Effective Income Tax Rate (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrecognizedTaxBenefits",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100790 - Disclosure - Income Taxes - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails",
     "shortName": "Income Taxes - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:ValuationAllowanceDeferredTaxAssetChangeInAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100070 - Disclosure - Description of the Business and Basis of Presentation",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentation",
     "shortName": "Description of the Business and Basis of Presentation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "meg:ConvertibleAndRedeemableSeriesaTwoPreferredStockTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20200413",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:WarrantsAndRightsOutstandingTerm",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100800 - Disclosure - Warrant Options - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails",
     "shortName": "Warrant Options - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "meg:WarrantOptionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapStatementClassOfStockAxis_megRedeemableSeriesAOnePreferredStockMember_20181019",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:ScheduleOfMaturitiesOfLeaseLiabilitiesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinanceLeaseLiability",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100810 - Disclosure - Debt - Schedule of Debt (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails",
     "shortName": "Debt - Schedule of Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "us-gaap:DebtDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20201231",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtWeightedAverageInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100830 - Disclosure - Debt - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
     "shortName": "Debt - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20201231",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtWeightedAverageInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:SummaryOfTermLoanAmortizationTableTextBlock",
       "us-gaap:DebtDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapCreditFacilityAxis_megTermLoanFacilityMember_us-gaapDebtInstrumentAxis_megTwentyTwentyOneCreditFacilityMember_20210427",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "meg:DebtInstrumentAmortizationPercentageYearOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100840 - Disclosure - Debt - Summary of Term Loan Amortization (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails",
     "shortName": "Debt - Summary of Term Loan Amortization (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:SummaryOfTermLoanAmortizationTableTextBlock",
       "us-gaap:DebtDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapCreditFacilityAxis_megTermLoanFacilityMember_us-gaapDebtInstrumentAxis_megTwentyTwentyOneCreditFacilityMember_20210427",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "meg:DebtInstrumentAmortizationPercentageYearOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:SummaryOfCreditFacilityInterestRateSubjectToLeverageRatioAndLIBORTableTextBlock",
       "us-gaap:DebtDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapDebtInstrumentAxis_megTwentyTwentyOneCreditFacilityMember_us-gaapLongtermDebtTypeAxis_megPricingTier1Member_20210427_20210427",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100850 - Disclosure - Debt - Summary of 2021 Credit Facility Interest Rate Subject to Leverage Ratio and LIBOR (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails",
     "shortName": "Debt - Summary of 2021 Credit Facility Interest Rate Subject to Leverage Ratio and LIBOR (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "meg:SummaryOfCreditFacilityInterestRateSubjectToLeverageRatioAndLIBORTableTextBlock",
       "us-gaap:DebtDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapDebtInstrumentAxis_megTwentyTwentyOneCreditFacilityMember_us-gaapLongtermDebtTypeAxis_megPricingTier1Member_20210427_20210427",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapDebtInstrumentAxis_megPriorSeniorSecuredCreditFacilityMember_us-gaapLongtermDebtTypeAxis_megPricingTier1Member_20210101_20211231",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100860 - Disclosure - Debt - Schedule of Applicable Percentages (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
     "shortName": "Debt - Schedule of Applicable Percentages (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapDebtInstrumentAxis_megPriorSeniorSecuredCreditFacilityMember_us-gaapLongtermDebtTypeAxis_megPricingTier1Member_20210101_20211231",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100870 - Disclosure - Debt - Schedule of Aggregate Annual Maturities of Long-Term Debt (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfAggregateAnnualMaturitiesOfLongTermDebtDetails",
     "shortName": "Debt - Schedule of Aggregate Annual Maturities of Long-Term Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapFairValueByFairValueHierarchyLevelAxis_us-gaapFairValueInputsLevel3Member_us-gaapFairValueByMeasurementFrequencyAxis_us-gaapFairValueMeasurementsRecurringMember_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100880 - Disclosure - Fair Value of Financial Instruments - Summary of Financial Liabilities Measured at Fair Value on Recurring Basis (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
     "shortName": "Fair Value of Financial Instruments - Summary of Financial Liabilities Measured at Fair Value on Recurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapFairValueByFairValueHierarchyLevelAxis_us-gaapFairValueInputsLevel3Member_us-gaapFairValueByMeasurementFrequencyAxis_us-gaapFairValueMeasurementsRecurringMember_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100890 - Disclosure - Fair Value of Financial Instruments - Summary of Financial Instruments Measured at Fair Value on Recurring Basis (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
     "shortName": "Fair Value of Financial Instruments - Summary of Financial Instruments Measured at Fair Value on Recurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapFairValueByFairValueHierarchyLevelAxis_us-gaapFairValueInputsLevel3Member_us-gaapFairValueByMeasurementFrequencyAxis_us-gaapFairValueMeasurementsRecurringMember_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "meg:ConvertibleAndRedeemableSeriesaTwoPreferredStockTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20200413",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:WarrantsAndRightsOutstandingTerm",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100900 - Disclosure - Fair Value of Financial Instruments - Summary of Fair Value of Warrant Options Associated with Issuance of Redeemable Preferred Stock (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails",
     "shortName": "Fair Value of Financial Instruments - Summary of Fair Value of Warrant Options Associated with Issuance of Redeemable Preferred Stock (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapMeasurementInputTypeAxis_us-gaapMeasurementInputSharePriceMember_us-gaapStatementClassOfStockAxis_megConvertibleAndRedeemableSeriesAOneAndSeriesATwoPreferredStockMember_20200730",
      "decimals": "2",
      "lang": null,
      "name": "us-gaap:WarrantsAndRightsOutstandingMeasurementInput",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100080 - Disclosure - Significant Accounting Policies",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPolicies",
     "shortName": "Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:LesseeOperatingLeaseExpirationYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100910 - Disclosure - Commitments and Contingencies - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails",
     "shortName": "Commitments and Contingencies - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "meg:LesseeOperatingLeaseExpirationYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharePrice",
      "reportCount": 1,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100920 - Disclosure - Redeemable Series A-1 Preferred Stock - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails",
     "shortName": "Redeemable Series A-1 Preferred Stock - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "meg:RedeemablePreferredStockDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapStatementClassOfStockAxis_megRedeemableSeriesAOnePreferredStockMember_20181019",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:TemporaryEquitySharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "meg:ConvertibleAndRedeemableSeriesaTwoPreferredStockTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20200413",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:WarrantsAndRightsOutstandingTerm",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100930 - Disclosure - Convertible and Redeemable Series A-2 Preferred Stock - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
     "shortName": "Convertible and Redeemable Series A-2 Preferred Stock - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "meg:ConvertibleAndRedeemableSeriesaTwoPreferredStockTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20200413_20200413",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOrSaleOfEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100940 - Disclosure - Stockholders' Equity (Deficit) - Additional Information (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
     "shortName": "Stockholders' Equity (Deficit) - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "INF",
      "lang": null,
      "name": "meg:StockIssuedDuringPeriodSharesWarrantsExercised",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20190101_20191231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "reportCount": 1,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100950 - Disclosure - Stockholders' Equity (Deficit) - Summary of Issued, Cancelled and Repurchased Shares of Common Stock (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails",
     "shortName": "Stockholders' Equity (Deficit) - Summary of Issued, Cancelled and Repurchased Shares of Common Stock (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20190101_20191231",
      "decimals": "2",
      "lang": null,
      "name": "meg:SharesIssuedAveragePricePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapPlanNameAxis_megTwoThousandSeventeenPlanMember_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100960 - Disclosure - Stockholders' Equity (Deficit) - Summary of Number of Shares Authorized to be Issued and Available for Grant (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantDetails",
     "shortName": "Stockholders' Equity (Deficit) - Summary of Number of Shares Authorized to be Issued and Available for Grant (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapPlanNameAxis_megTwoThousandSeventeenPlanMember_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapAwardTypeAxis_us-gaapStockAppreciationRightsSARSMember_us-gaapSubsequentEventTypeAxis_us-gaapSubsequentEventMember_20220131",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100970 - Disclosure - Stockholders' Equity (Deficit) - Summary of Number of Shares Authorized to be Issued and Available for Grant (Parenthetical) (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantParentheticalDetails",
     "shortName": "Stockholders' Equity (Deficit) - Summary of Number of Shares Authorized to be Issued and Available for Grant (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapAwardTypeAxis_us-gaapStockAppreciationRightsSARSMember_us-gaapSubsequentEventTypeAxis_us-gaapSubsequentEventMember_20220131",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100980 - Disclosure - Stockholders' Equity (Deficit) - Schedule of Stock Compensation Expense (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails",
     "shortName": "Stockholders' Equity (Deficit) - Schedule of Stock Compensation Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapIncomeStatementLocationAxis_us-gaapCostOfSalesMember_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_20210101_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "meg:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAveragePricePerShare",
      "reportCount": 1,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100990 - Disclosure - Stockholders' Equity (Deficit) - Schedule of Restricted Stock Activity (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfRestrictedStockActivityDetails",
     "shortName": "Stockholders' Equity (Deficit) - Schedule of Restricted Stock Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapAwardTypeAxis_us-gaapRestrictedStockMember_us-gaapPlanNameAxis_megMontroseTwoThousandSeventeenStockIncentivePlanMember_20210101_20211231",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesRestrictedStockAwardGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapAwardTypeAxis_megSARStockPricePerformanceHurdleOneMember_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SaleOfStockPricePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101000 - Disclosure - Stockholders' Equity (Deficit) - Summary of Performance Hurdles (Details)",
     "role": "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfPerformanceHurdlesDetails",
     "shortName": "Stockholders' Equity (Deficit) - Summary of Performance Hurdles (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "meg-10k_20211231.htm",
      "contextRef": "C_0001643615_us-gaapAwardTypeAxis_megSARStockPricePerformanceHurdleOneMember_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SaleOfStockPricePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 150,
   "tag": {
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r754",
      "r755",
      "r756"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PCAOB issued Audit Firm Identifier",
        "label": "Auditor Firm Id",
        "terseLabel": "Auditor Firm ID"
       }
      }
     },
     "localname": "AuditorFirmId",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r754",
      "r755",
      "r756"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location",
        "terseLabel": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r754",
      "r755",
      "r756"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name",
        "terseLabel": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r754",
      "r755",
      "r756"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report",
        "terseLabel": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r757"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_DocumentsIncorporatedByReferenceTextBlock": {
     "auth_ref": [
      "r752"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Documents incorporated by reference.",
        "label": "Documents Incorporated By Reference [Text Block]",
        "terseLabel": "Documents Incorporated by Reference"
       }
      }
     },
     "localname": "DocumentsIncorporatedByReferenceTextBlock",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address Address Line1",
        "terseLabel": "Entity Address Address Line1"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address City Or Town",
        "terseLabel": "Entity Address City Or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address Postal Zip Code",
        "terseLabel": "Entity Address Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address State Or Province",
        "terseLabel": "Entity Address State Or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation State Country Code",
        "terseLabel": "Entity Incorporation State Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r759"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityNumberOfEmployees": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of persons employed by the Entity",
        "label": "Entity Number Of Employees",
        "terseLabel": "Entity number of employees"
       }
      }
     },
     "localname": "EntityNumberOfEmployees",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "dei_EntityPublicFloat": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate market value of the voting and non-voting common equity held by non-affiliates computed by reference to the price at which the common equity was last sold, or the average bid and asked price of such common equity, as of the last business day of the registrant's most recently completed second fiscal quarter.",
        "label": "Entity Public Float",
        "terseLabel": "Entity Public Float"
       }
      }
     },
     "localname": "EntityPublicFloat",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "monetaryItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers",
        "terseLabel": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well Known Seasoned Issuer",
        "terseLabel": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_IcfrAuditorAttestationFlag": {
     "auth_ref": [
      "r754",
      "r755",
      "r756"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Icfr Auditor Attestation Flag",
        "terseLabel": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "localname": "IcfrAuditorAttestationFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r750"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Security12b Title",
        "terseLabel": "Security12b Title"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r753"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "meg_AccountsReceivableOther": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAccountsReceivableNetDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_AccountsReceivableNetCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounts receivable other.",
        "label": "Accounts Receivable Other",
        "terseLabel": "Accounts receivable, other"
       }
      }
     },
     "localname": "AccountsReceivableOther",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAccountsReceivableNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_AccruedPaidTimeOff": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefitsScheduleOfAccruedPayrollAndBenefitsDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_AccruedEmployeeBenefitsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued paid time off.",
        "label": "Accrued Paid Time Off",
        "terseLabel": "Accrued paid time off"
       }
      }
     },
     "localname": "AccruedPaidTimeOff",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefitsScheduleOfAccruedPayrollAndBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_AccumulatedOtherComprehensiveIncomePolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated Other Comprehensive Income Policy [Text Block]",
        "label": "Accumulated Other Comprehensive Income Policy [Text Block]",
        "terseLabel": "Accumulated Other Comprehensive Income (Loss)"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomePolicyTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_AcquisitionProformaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquisition proforma.",
        "label": "Acquisition Proforma [Member]",
        "terseLabel": "Acquisition Proforma"
       }
      }
     },
     "localname": "AcquisitionProformaMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfSupplementalUnauditedProFormaInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_AcquisitionTargetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquisition targets.",
        "label": "Acquisition Targets [Member]",
        "terseLabel": "Acquisition Targets"
       }
      }
     },
     "localname": "AcquisitionTargetsMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_AdjustedEarningsBeforeInterestTaxesDepreciationAndAmortization": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjusted earnings before interest taxes depreciation and amortization.",
        "label": "Adjusted Earnings Before Interest Taxes Depreciation And Amortization",
        "positiveTerseLabel": "Total",
        "terseLabel": "Segment Adjusted EBITDA"
       }
      }
     },
     "localname": "AdjustedEarningsBeforeInterestTaxesDepreciationAndAmortization",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_AdjustmentsToAdditionalPaidInCapitalDeemedDividendRedeemablePreferredStock": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments to additional paid in capital deemed dividend redeemable preferred stock.",
        "label": "Adjustments To Additional Paid In Capital Deemed Dividend Redeemable Preferred Stock",
        "negatedLabel": "Series A-1 preferred stock deemed dividend"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalDeemedDividendRedeemablePreferredStock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRequisiteServicePeriodRecognitionShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments to additional paid in capital share based compensation requisite service period recognition shares.",
        "label": "Adjustments To Additional Paid In Capital Share Based Compensation Requisite Service Period Recognition Shares",
        "terseLabel": "Stock-based compensation, shares"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRequisiteServicePeriodRecognitionShares",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_AdjustmentsToAdditionalPaidInCapitalStockIssuedDuringPeriod": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments to additional paid In capital stock issued during period.",
        "label": "Adjustments To Additional Paid In Capital Stock Issued During Period",
        "terseLabel": "Common stock issued"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalStockIssuedDuringPeriod",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_AdjustmentsToAdditionalPaidInInitialPublicOfferingCosts": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments to additional paid in initial public offering costs.",
        "label": "Adjustments To Additional Paid In Initial Public Offering Costs",
        "terseLabel": "Final initial public offering costs"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInInitialPublicOfferingCosts",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_AggregateValueUsedToDetermineNumberOfSharesUnderlyingTheWarrantAndIssuableUponExerciseOfWarrants": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate value used to determine number of shares underlying the warrant and issuable upon exercise of warrants.",
        "label": "Aggregate Value Used To Determine Number Of Shares Underlying The Warrant And Issuable Upon Exercise Of Warrants",
        "terseLabel": "Aggregate value to determine number of shares underlying the warrant and issuable upon exercise of warrants"
       }
      }
     },
     "localname": "AggregateValueUsedToDetermineNumberOfSharesUnderlyingTheWarrantAndIssuableUponExerciseOfWarrants",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_AirWaterAndSoilLaboratoriesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Air Water and Soil Laboratories, Inc.",
        "label": "Air Water And Soil Laboratories Inc [Member]",
        "terseLabel": "AWS"
       }
      }
     },
     "localname": "AirWaterAndSoilLaboratoriesIncMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_AllowanceForDoubtfulAccountsReceivableOtherAdjustments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance for doubtful accounts receivable other adjustments.",
        "label": "Allowance For Doubtful Accounts Receivable Other Adjustments",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableOtherAdjustments",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAllowanceForDoubtfulAccountsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_AssessmentPermittingAndResponseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assessment permitting and response.",
        "label": "Assessment Permitting And Response [Member]",
        "terseLabel": "Assessment, Permitting and Response"
       }
      }
     },
     "localname": "AssessmentPermittingAndResponseMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToGoodwillDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_BusinessAcquisitionSharesIssuedAveragePricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business acquisition shares issued average price per share.",
        "label": "Business Acquisition Shares Issued Average Price Per Share",
        "verboseLabel": "Acquisitions, Average Price per Share"
       }
      }
     },
     "localname": "BusinessAcquisitionSharesIssuedAveragePricePerShare",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "meg_BusinessAcquisitionsContingentConsiderationCurrentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business acquisitions contingent consideration, current.",
        "label": "Business Acquisitions Contingent Consideration Current [Member]",
        "terseLabel": "Business Acquisitions Contingent Consideration, Current"
       }
      }
     },
     "localname": "BusinessAcquisitionsContingentConsiderationCurrentMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_BusinessAcquisitionsContingentConsiderationLongTermMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business acquisitions contingent consideration, long-term.",
        "label": "Business Acquisitions Contingent Consideration Long Term [Member]",
        "terseLabel": "Business Acquisitions Contingent Consideration, Long-Term"
       }
      }
     },
     "localname": "BusinessAcquisitionsContingentConsiderationLongTermMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_BusinessCombinationConsiderationTransferredContingentConsiderationCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails": {
       "order": 10050.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination, consideration transferred, contingent consideration current.",
        "label": "Business Combination Consideration Transferred Contingent Consideration Current",
        "terseLabel": "Contingent Consideration Current"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredContingentConsiderationCurrent",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_BusinessCombinationConsiderationTransferredContingentConsiderationLongTerm": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails": {
       "order": 10060.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination, consideration transferred, contingent consideration long term.",
        "label": "Business Combination Consideration Transferred Contingent Consideration Long Term",
        "terseLabel": "Contingent Consideration Long Term"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredContingentConsiderationLongTerm",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_BusinessCombinationConsiderationTransferredContingentEarnout": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination consideration transferred contingent earnout.",
        "label": "Business Combination Consideration Transferred Contingent Earnout",
        "terseLabel": "Contingent Earnout"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredContingentEarnout",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsScheduleOfElementsOfPurchasePriceOfAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_BusinessCombinationConsiderationTransferredOtherPurchasePriceComponentCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination, consideration transferred, other purchase price component current.",
        "label": "Business Combination Consideration Transferred Other Purchase Price Component Current",
        "negatedLabel": "Other Purchase Price Component Current"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredOtherPurchasePriceComponentCurrent",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_BusinessCombinationConsiderationTransferredOtherPurchasePriceComponentLongTerm": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails": {
       "order": 10040.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination, consideration transferred, other purchase price component long term.",
        "label": "Business Combination Consideration Transferred Other Purchase Price Component Long Term",
        "negatedLabel": "Other Purchase Price Component Long Term"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredOtherPurchasePriceComponentLongTerm",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_BusinessCombinationEarningsBeforeInterestTaxDepreciationAndAmortization": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination earnings before interest tax depreciation and amortization.",
        "label": "Business Combination Earnings Before Interest Tax Depreciation And Amortization",
        "terseLabel": "Business combination, actual EBITDA"
       }
      }
     },
     "localname": "BusinessCombinationEarningsBeforeInterestTaxDepreciationAndAmortization",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_BusinessCombinationMinimumEarningsBeforeInterestTaxDepreciationAndAmortizationForContingentConsiderationArrangements": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination, minimum earnings before interest, tax, depreciation and amortization for contingent consideration arrangements.",
        "label": "Business Combination Minimum Earnings Before Interest Tax Depreciation And Amortization For Contingent Consideration Arrangements",
        "terseLabel": "Business combination, minimum EBITDA for contingent consideration arrangements"
       }
      }
     },
     "localname": "BusinessCombinationMinimumEarningsBeforeInterestTaxDepreciationAndAmortizationForContingentConsiderationArrangements",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccountsReceivableAndContractAssets": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10170.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed accounts receivable and contract assets.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Accounts Receivable And Contract Assets",
        "terseLabel": "Accounts receivable and contract assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccountsReceivableAndContractAssets",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10140.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed goodwill.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Goodwill",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiabilityNetOfCurrentPortion": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10050.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed operating lease liability net of current portion.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Operating Lease Liability Net Of Current Portion",
        "terseLabel": "Operating lease liability\u2014net of current portion"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiabilityNetOfCurrentPortion",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssetNet": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10080.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed operating lease right of use asset net.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Operating Lease Right Of Use Asset Net",
        "terseLabel": "Operating lease right-of-use asset\u2014net"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssetNet",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedRestrictedCash": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10160.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination, recognized identifiable assets acquired and liabilities assumed, restricted cash.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Restricted Cash",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedRestrictedCash",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_CanadianEquipmentLineOfCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Canadian equipment line of credit facility.",
        "label": "Canadian Equipment Line Of Credit Facility [Member]",
        "terseLabel": "Canadian Equipment Line Of Credit Facility"
       }
      }
     },
     "localname": "CanadianEquipmentLineOfCreditFacilityMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_CancellationOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cancellation of shares.",
        "label": "Cancellation Of Shares",
        "negatedLabel": "Cancellation of shares"
       }
      }
     },
     "localname": "CancellationOfShares",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_CancellationOfSharesAveragePricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cancellation of shares, average price per shares.",
        "label": "Cancellation Of Shares Average Price Per Share",
        "terseLabel": "Cancellation of shares, Average Price per Share"
       }
      }
     },
     "localname": "CancellationOfSharesAveragePricePerShare",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "meg_CancellationOfValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cancellation of value.",
        "label": "Cancellation Of Value",
        "terseLabel": "Cancellation of shares, Total"
       }
      }
     },
     "localname": "CancellationOfValue",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_CloudComputingArrangementsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cloud computing arrangements.",
        "label": "Cloud Computing Arrangements Policy [Text Block]",
        "terseLabel": "Cloud Computing Arrangements"
       }
      }
     },
     "localname": "CloudComputingArrangementsPolicyTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_CollectionOfNotesReceivableFromStockholders": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collection of notes receivable from stockholders.",
        "label": "Collection Of Notes Receivable From Stockholders",
        "terseLabel": "Collection of notes receivable from stockholders"
       }
      }
     },
     "localname": "CollectionOfNotesReceivableFromStockholders",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_CommitmentsAndContingenciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitments and contingencies.",
        "label": "Commitments And Contingencies [Line Items]",
        "terseLabel": "Commitments And Contingencies [Line Items]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesLineItems",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "meg_CommitmentsAndContingenciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitments and contingencies.",
        "label": "Commitments And Contingencies [Table]",
        "terseLabel": "Commitments And Contingencies [Table]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesTable",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "meg_CommonStockFairValueMeasurementPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common Stock Fair Value Measurement Policy [Policy Text Block]",
        "label": "Common Stock Fair Value Measurement Policy Policy [Text Block]",
        "terseLabel": "Fair Value of Common Stock"
       }
      }
     },
     "localname": "CommonStockFairValueMeasurementPolicyPolicyTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_CommonStockIssuedAndCancelledAveragePricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock issued and cancelled, average price per share.",
        "label": "Common Stock Issued And Cancelled Average Price Per Share",
        "terseLabel": "Common Stock Issued and Cancelled, Average Price per share"
       }
      }
     },
     "localname": "CommonStockIssuedAndCancelledAveragePricePerShare",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "meg_CompensationAdditionalTextualAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Compensation Additional Textual [Abstract]",
        "label": "Compensation Additional Textual [Abstract]"
       }
      }
     },
     "localname": "CompensationAdditionalTextualAbstract",
     "nsuri": "http://montrose-env.com/20211231",
     "xbrltype": "stringItemType"
    },
    "meg_ConsolidatedLeverageRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consolidated Leverage Ratio",
        "label": "Consolidated Leverage Ratio",
        "positiveLabel": "Consolidated total leverage ratio",
        "terseLabel": "Consolidated total leverage ratio"
       }
      }
     },
     "localname": "ConsolidatedLeverageRatio",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_ConsolidatedProformaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consolidated proforma.",
        "label": "Consolidated Proforma [Member]",
        "terseLabel": "Consolidated Proforma"
       }
      }
     },
     "localname": "ConsolidatedProformaMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfSupplementalUnauditedProFormaInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_ContractsWithCustomerAssetsAcquiredThroughBusinessAcquisitions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contracts with customer assets acquired through business acquisitions.",
        "label": "Contracts With Customer Assets Acquired Through Business Acquisitions",
        "terseLabel": "Contracts assets acquired through business acquisitions"
       }
      }
     },
     "localname": "ContractsWithCustomerAssetsAcquiredThroughBusinessAcquisitions",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_ContractsWithCustomerLiabilitiesAcquiredThroughBusinessAcquisitions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contracts with customer liabilities acquired through business acquisitions.",
        "label": "Contracts With Customer Liabilities Acquired Through Business Acquisitions",
        "terseLabel": "Contract liabilities acquired through business acquisitions"
       }
      }
     },
     "localname": "ContractsWithCustomerLiabilitiesAcquiredThroughBusinessAcquisitions",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_ConversionOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Conversion option.",
        "label": "Conversion Option [Member]",
        "terseLabel": "Conversion Option"
       }
      }
     },
     "localname": "ConversionOptionMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_ConvertibleAndRedeemableSeriesAOneAndSeriesATwoPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convertible and redeemable series a one and series a two preferred stock member.",
        "label": "Convertible And Redeemable Series A One And Series A Two Preferred Stock [Member]",
        "terseLabel": "Convertible And Redeemable Series A-1 and Series A-2 Preferred Stock"
       }
      }
     },
     "localname": "ConvertibleAndRedeemableSeriesAOneAndSeriesATwoPreferredStockMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_ConvertibleAndRedeemableSeriesATwoPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convertible and redeemable series A-two preferred stock.",
        "label": "Convertible And Redeemable Series A Two Preferred Stock [Member]",
        "terseLabel": "Convertible And Redeemable Series A-2 Preferred Stock"
       }
      }
     },
     "localname": "ConvertibleAndRedeemableSeriesATwoPreferredStockMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_ConvertibleAndRedeemableSeriesaTwoPreferredStockTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convertible And Redeemable SeriesA Two Preferred Stock [Text Block]",
        "label": "Convertible And Redeemable Seriesa Two Preferred Stock [Text Block]",
        "terseLabel": "Convertible and Redeemable Series A-2 Preferred Stock"
       }
      }
     },
     "localname": "ConvertibleAndRedeemableSeriesaTwoPreferredStockTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStock"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_CustomerOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer one.",
        "label": "Customer One [Member]",
        "terseLabel": "One Customer"
       }
      }
     },
     "localname": "CustomerOneMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_DailyFloatingRateLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Daily floating rate loans.",
        "label": "Daily Floating Rate Loans [Member]",
        "terseLabel": "Daily Floating Rate Loans"
       }
      }
     },
     "localname": "DailyFloatingRateLoansMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_DebtInstrumentAmortizationPercentageYearFive": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument amortization percentage year five.",
        "label": "Debt Instrument Amortization Percentage Year Five",
        "terseLabel": "Amortization percentage, Year 5"
       }
      }
     },
     "localname": "DebtInstrumentAmortizationPercentageYearFive",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_DebtInstrumentAmortizationPercentageYearFour": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument amortization percentage year four.",
        "label": "Debt Instrument Amortization Percentage Year Four",
        "terseLabel": "Amortization percentage, Year 4"
       }
      }
     },
     "localname": "DebtInstrumentAmortizationPercentageYearFour",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_DebtInstrumentAmortizationPercentageYearOne": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument amortization percentage year one.",
        "label": "Debt Instrument Amortization Percentage Year One",
        "terseLabel": "Amortization percentage, Year 1"
       }
      }
     },
     "localname": "DebtInstrumentAmortizationPercentageYearOne",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_DebtInstrumentAmortizationPercentageYearThree": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument amortization percentage year three.",
        "label": "Debt Instrument Amortization Percentage Year Three",
        "terseLabel": "Amortization percentage, Year 3"
       }
      }
     },
     "localname": "DebtInstrumentAmortizationPercentageYearThree",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_DebtInstrumentAmortizationPercentageYearTwo": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument amortization percentage year two.",
        "label": "Debt Instrument Amortization Percentage Year Two",
        "terseLabel": "Amortization percentage, Year 2"
       }
      }
     },
     "localname": "DebtInstrumentAmortizationPercentageYearTwo",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_DeferredCapitalizedOfferingCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred capitalized offering costs.",
        "label": "Deferred Capitalized Offering Costs",
        "terseLabel": "Deferred capitalized offering costs"
       }
      }
     },
     "localname": "DeferredCapitalizedOfferingCosts",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_DeferredTaxAssetsRightOfUseAssets": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 10120.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax assets right of use assets.",
        "label": "Deferred Tax Assets Right Of Use Assets",
        "terseLabel": "ROU assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsRightOfUseAssets",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_DefinedContributionPlanParticipantsCompensationPercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined contribution plan participant's compensation percent.",
        "label": "Defined Contribution Plan Participants Compensation Percent",
        "terseLabel": "Defined contribution plan participant's compensation percent"
       }
      }
     },
     "localname": "DefinedContributionPlanParticipantsCompensationPercent",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_DefinedContributionPlanPercentageOfParticipantsElectiveDeferrals": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined contribution plan percentage of participants elective deferrals.",
        "label": "Defined Contribution Plan Percentage Of Participants Elective Deferrals",
        "terseLabel": "Defined contribution plan percentage of participant's elective deferrals"
       }
      }
     },
     "localname": "DefinedContributionPlanPercentageOfParticipantsElectiveDeferrals",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_DepreciationAndAmortizationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Depreciation and amortization.",
        "label": "Depreciation And Amortization [Member]",
        "terseLabel": "Depreciation And Amortization"
       }
      }
     },
     "localname": "DepreciationAndAmortizationMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_DescriptionOfBusinessAndBasisOfPresentationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the business and basis of presentation.",
        "label": "Description Of Business And Basis Of Presentation [Line Items]",
        "terseLabel": "Description Of Business And Basis Of Presentation [Line Items]"
       }
      }
     },
     "localname": "DescriptionOfBusinessAndBasisOfPresentationLineItems",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "meg_DescriptionOfBusinessAndBasisOfPresentationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the business and basis of presentation.",
        "label": "Description Of Business And Basis Of Presentation [Table]",
        "terseLabel": "Description Of Business And Basis Of Presentation [Table]"
       }
      }
     },
     "localname": "DescriptionOfBusinessAndBasisOfPresentationTable",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "meg_ECT2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ECT2.",
        "label": "E C T2 [Member]",
        "terseLabel": "ECT2"
       }
      }
     },
     "localname": "ECT2Member",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_EffectiveIncomeTaxRateReconciliationFederalDeferredTaxAdjustment": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails": {
       "order": 10070.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective income tax rate reconciliation federal deferred tax adjustment.",
        "label": "Effective Income Tax Rate Reconciliation Federal Deferred Tax Adjustment",
        "terseLabel": "Federal deferred tax adjustment"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationFederalDeferredTaxAdjustment",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_EmergingCompoundsTreatmentsTechnologiesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Emerging compounds treatments technologies, Inc.",
        "label": "Emerging Compounds Treatments Technologies Inc [Member]",
        "terseLabel": "ECT2"
       }
      }
     },
     "localname": "EmergingCompoundsTreatmentsTechnologiesIncMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_EntityFormationMonthAndYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity formation, month and year.",
        "label": "Entity Formation Month And Year",
        "terseLabel": "Entity formation, month and year"
       }
      }
     },
     "localname": "EntityFormationMonthAndYear",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "meg_EnvironmentalChemistryIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Environmental chemistry inc.",
        "label": "Environmental Chemistry Inc [Member]",
        "terseLabel": "ECI"
       }
      }
     },
     "localname": "EnvironmentalChemistryIncMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_EnvironmentalIntelligenceLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Environmental Intelligence, LLC.",
        "label": "Environmental Intelligence L L C [Member]",
        "terseLabel": "EI"
       }
      }
     },
     "localname": "EnvironmentalIntelligenceLLCMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_EnvironmentalStandardsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Environmental standards inc member.",
        "label": "Environmental Standards Inc [Member]",
        "terseLabel": "ESI"
       }
      }
     },
     "localname": "EnvironmentalStandardsIncMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsScheduleOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_EquipmentLineOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment line of credit.",
        "label": "Equipment Line Of Credit [Member]",
        "terseLabel": "Equipment Line Of Credit"
       }
      }
     },
     "localname": "EquipmentLineOfCreditMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_EurodollarRateLoansAndLIBORLetterOfCreditFeeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eurodollar rate loans and LIBOR letter of credit fee.",
        "label": "Eurodollar Rate Loans And L I B O R Letter Of Credit Fee [Member]",
        "terseLabel": "Eurodollar Rate Loans and LIBOR Letter of Credit Fee"
       }
      }
     },
     "localname": "EurodollarRateLoansAndLIBORLetterOfCreditFeeMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_ExerciseOfRedeemableA1AndRedeemableConvertibleA2PreferredStockWarrantShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise of redeemable A-1 and redeemable convertible A-2 preferred stock warrant shares.",
        "label": "Exercise Of Redeemable A1 And Redeemable Convertible A2 Preferred Stock Warrant Shares",
        "terseLabel": "Exercise of the series A-1 and A-2 preferred stock warrant, shares"
       }
      }
     },
     "localname": "ExerciseOfRedeemableA1AndRedeemableConvertibleA2PreferredStockWarrantShares",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_ExerciseOfRedeemableA1AndRedeemableConvertibleA2PreferredStockWarrantValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise of redeemable A-1 and and redeemable convertible A-2 preferred stock warrant value.",
        "label": "Exercise Of Redeemable A1 And Redeemable Convertible A2 Preferred Stock Warrant Value",
        "terseLabel": "Exercise of the series A-1 and A-2 preferred stock warrant"
       }
      }
     },
     "localname": "ExerciseOfRedeemableA1AndRedeemableConvertibleA2PreferredStockWarrantValue",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_ExerciseOfRedeemableA1PreferredStockWarrantShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise of redeemable A-1 preferred stock warrant shares.",
        "label": "Exercise Of Redeemable A1 Preferred Stock Warrant Shares",
        "terseLabel": "Exercise of the series A-1 preferred stock warrant, shares",
        "verboseLabel": "Exercise of warrants options, Shares"
       }
      }
     },
     "localname": "ExerciseOfRedeemableA1PreferredStockWarrantShares",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_FairValueChangesInContingentLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10090.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value changes in contingent liabilities.",
        "label": "Fair Value Changes In Contingent Liabilities",
        "negatedLabel": "Fair value changes in business acquisitions contingent consideration"
       }
      }
     },
     "localname": "FairValueChangesInContingentLiabilities",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_FairValueChangesInContingentPutOption": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value changes in contingent put option.",
        "label": "Fair Value Changes In Contingent Put Option",
        "terseLabel": "Fair value changes in the contingent put option"
       }
      }
     },
     "localname": "FairValueChangesInContingentPutOption",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityExerciseOfWarrantOptions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis liability exercise of warrant options.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Liability Exercise Of Warrant Options",
        "negatedLabel": "Exercise of warrant options"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityExerciseOfWarrantOptions",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityForeignCurrencyTranslationOfContingentConsiderationPayment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis liability foreign currency translation of contingent consideration payment.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Liability Foreign Currency Translation Of Contingent Consideration Payment",
        "negatedLabel": "Foreign currency translation of contingent consideration payment"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityForeignCurrencyTranslationOfContingentConsiderationPayment",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityReclassOfLongTermToShortTermContingentLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis liability reclass of long term to short term contingent liabilities.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Liability Reclass Of Long Term To Short Term Contingent Liabilities",
        "terseLabel": "Reclass of long term to short term contingent liabilities"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityReclassOfLongTermToShortTermContingentLiabilities",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySeriesA2CompoundEmbeddedOption": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis liability series a 2 compound embedded option.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Liability Series A2 Compound Embedded Option",
        "terseLabel": "Series A-2 compound embedded option"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySeriesA2CompoundEmbeddedOption",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityWriteOffOfContingentPutOption": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis liability write off of contingent put option.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Liability Write Off Of Contingent Put Option",
        "terseLabel": "Write off of the contingent put option"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityWriteOffOfContingentPutOption",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_FinanceLeaseCost": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance lease cost.",
        "label": "Finance Lease Cost",
        "totalLabel": "Total finance lease cost"
       }
      }
     },
     "localname": "FinanceLeaseCost",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_FinanceLeasesLiabilityPaymentsDueYearFiveAndThereafter": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails": {
       "order": 10050.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance leases liability payments due year five and thereafter.",
        "label": "Finance Leases Liability Payments Due Year Five And Thereafter",
        "terseLabel": "Finance Leases, 2026 and thereafter"
       }
      }
     },
     "localname": "FinanceLeasesLiabilityPaymentsDueYearFiveAndThereafter",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfFutureAmortizationExpenseDetails": {
       "order": 10050.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finite-lived intangible assets amortization expense after year four.",
        "label": "Finite Lived Intangible Assets Amortization Expense After Year Four",
        "terseLabel": "2026 and thereafter"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFour",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfFutureAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_FloatingRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Floating rate.",
        "label": "Floating Rate [Member]",
        "terseLabel": "Floating Component"
       }
      }
     },
     "localname": "FloatingRateMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_FollowOnOfferingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Follow-on offering.",
        "label": "Follow On Offering [Member]",
        "terseLabel": "Follow-on Offering"
       }
      }
     },
     "localname": "FollowOnOfferingMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_FollowOnOfferingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Follow-on offerings.",
        "label": "Follow On Offerings [Member]",
        "terseLabel": "Follow-on offering"
       }
      }
     },
     "localname": "FollowOnOfferingsMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_GoldenSpecialtyIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Golden Specialty, Inc.",
        "label": "Golden Specialty Inc [Member]",
        "terseLabel": "Golden"
       }
      }
     },
     "localname": "GoldenSpecialtyIncMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_HorizonWaterAndEnvironmentLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Horizon water and environment, LLC.",
        "label": "Horizon Water And Environment L L C [Member]",
        "terseLabel": "Horizon"
       }
      }
     },
     "localname": "HorizonWaterAndEnvironmentLLCMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_IncomeTaxDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income tax disclosure.",
        "label": "Income Tax Disclosure [Line Items]",
        "terseLabel": "Income Tax Disclosure [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureLineItems",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "meg_IncomeTaxDisclosureTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income tax disclosure table.",
        "label": "Income Tax Disclosure [Table]",
        "terseLabel": "Income Tax Disclosure [Table]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTable",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "meg_IncreaseDecreaseInOperatingLeases": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10420.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in operating leases.",
        "label": "Increase Decrease In Operating Leases",
        "terseLabel": "Change in operating leases"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingLeases",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_IncreaseDecreaseInPaymentOfContingentConsiderationAndOtherAssumedPurchasePriceObligations": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10410.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in payment of contingent consideration and other assumed purchase price obligations.",
        "label": "Increase Decrease In Payment Of Contingent Consideration And Other Assumed Purchase Price Obligations",
        "terseLabel": "Payment of contingent consideration and other assumed purchase price obligations"
       }
      }
     },
     "localname": "IncreaseDecreaseInPaymentOfContingentConsiderationAndOtherAssumedPurchasePriceObligations",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_IncrementalTermLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incremental term loans.",
        "label": "Incremental Term Loans [Member]",
        "terseLabel": "Incremental Term Loans"
       }
      }
     },
     "localname": "IncrementalTermLoansMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_InterestExpenseNetMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest expense net.",
        "label": "Interest Expense Net [Member]",
        "terseLabel": "Interest Expense, Net"
       }
      }
     },
     "localname": "InterestExpenseNetMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_LEHDEREnvironmentalServicesLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "LEHDER environmental services ltd.",
        "label": "L E H D E R Environmental Services Ltd [Member]",
        "terseLabel": "LEHDER"
       }
      }
     },
     "localname": "LEHDEREnvironmentalServicesLtdMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_LabAndTestEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lab and test equipment.",
        "label": "Lab And Test Equipment [Member]",
        "terseLabel": "Lab and test equipment"
       }
      }
     },
     "localname": "LabAndTestEquipmentMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_LesseeOperatingAndFinanceLeaseTermOfContract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessee operating and finance lease term of contract.",
        "label": "Lessee Operating And Finance Lease Term Of Contract",
        "terseLabel": "Lessee operating and finance lease term"
       }
      }
     },
     "localname": "LesseeOperatingAndFinanceLeaseTermOfContract",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "meg_LesseeOperatingAndFinanceLeasesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessee operating and finance leases.",
        "label": "Lessee Operating And Finance Leases [Text Block]",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "LesseeOperatingAndFinanceLeasesTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeases"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_LesseeOperatingLeaseExpirationYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessee operating lease, expiration year.",
        "label": "Lessee Operating Lease Expiration Year",
        "terseLabel": "Lessee operating lease, expiration year"
       }
      }
     },
     "localname": "LesseeOperatingLeaseExpirationYear",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "meg_LesseeOperatingLeasesLiabilityPaymentsDueYearFiveAndThereafter": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails": {
       "order": 10100.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessee operating leases liability payments due year five and thereafter.",
        "label": "Lessee Operating Leases Liability Payments Due Year Five And Thereafter",
        "terseLabel": "Operating Leases, 2026 and thereafter"
       }
      }
     },
     "localname": "LesseeOperatingLeasesLiabilityPaymentsDueYearFiveAndThereafter",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_LetterOfCreditFeePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Letter of credit fee percentage.",
        "label": "Letter Of Credit Fee Percentage",
        "terseLabel": "Letter of Credit Fee"
       }
      }
     },
     "localname": "LetterOfCreditFeePercentage",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_LineOfCreditFacilityExpirationMonthAndYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line of credit facility expiration month and year.",
        "label": "Line Of Credit Facility Expiration Month And Year",
        "terseLabel": "Credit facility maturity"
       }
      }
     },
     "localname": "LineOfCreditFacilityExpirationMonthAndYear",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "meg_LondonInterbankOfferedRateLIBORFloorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "London interbank offered rate Libor floor.",
        "label": "London Interbank Offered Rate L I B O R Floor [Member]",
        "terseLabel": "LIBOR Floor"
       }
      }
     },
     "localname": "LondonInterbankOfferedRateLIBORFloorMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_MSEGroupLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MSE Group, LLC.",
        "label": "M S E Group L L C [Member]",
        "terseLabel": "MSE Group, LLC"
       }
      }
     },
     "localname": "MSEGroupLLCMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_MSEGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MSE Group.",
        "label": "M S E Group [Member]",
        "terseLabel": "MSE Group"
       }
      }
     },
     "localname": "MSEGroupMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_MSEGroupVistaEISensibleECIHorizonMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MSE Group, Vista, EI, Sensible, ECI, Horizon.",
        "label": "M S E Group Vista E I Sensible E C I Horizon [Member]",
        "terseLabel": "MSE Group, Vista, EI, Sensible, ECI, Horizon"
       }
      }
     },
     "localname": "MSEGroupVistaEISensibleECIHorizonMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_MSEGroupVistaSensibleAndECIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MSE group, Vista, Sensible and ECI.",
        "label": "M S E Group Vista Sensible And E C I [Member]",
        "terseLabel": "MSE, Vista, Sensible and ECI"
       }
      }
     },
     "localname": "MSEGroupVistaSensibleAndECIMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_MaximumConsolidatedLeverageRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum consolidated leverage ratio.",
        "label": "Maximum Consolidated Leverage Ratio",
        "terseLabel": "Maximum consolidated leverage ratio"
       }
      }
     },
     "localname": "MaximumConsolidatedLeverageRatio",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_MaximumNetLeverageRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum net leverage ratio.",
        "label": "Maximum Net Leverage Ratio",
        "terseLabel": "Maximum net leverage ratio"
       }
      }
     },
     "localname": "MaximumNetLeverageRatio",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_MaximumNetLeverageRatioYearThree": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum net leverage ratio year three.",
        "label": "Maximum Net Leverage Ratio Year Three",
        "terseLabel": "Maximum net leverage ratio year three"
       }
      }
     },
     "localname": "MaximumNetLeverageRatioYearThree",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_MaximumNetLeverageRatioYearTwo": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum net leverage ratio year two.",
        "label": "Maximum Net Leverage Ratio Year Two",
        "terseLabel": "Maximum net leverage ratio year two"
       }
      }
     },
     "localname": "MaximumNetLeverageRatioYearTwo",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_MeasurementAndAnalysisMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement and analysis.",
        "label": "Measurement And Analysis [Member]",
        "terseLabel": "Measurement and Analysis"
       }
      }
     },
     "localname": "MeasurementAndAnalysisMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToGoodwillDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_MinimumConsolidatedFixedChargeCoverageRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum consolidated fixed charge coverage ratio.",
        "label": "Minimum Consolidated Fixed Charge Coverage Ratio",
        "terseLabel": "Minimum consolidated fixed charge coverage ratio"
       }
      }
     },
     "localname": "MinimumConsolidatedFixedChargeCoverageRatio",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_MinimumFixedChargeCoverageRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum fixed charge coverage ratio.",
        "label": "Minimum Fixed Charge Coverage Ratio",
        "terseLabel": "Minimum fixed charge coverage ratio"
       }
      }
     },
     "localname": "MinimumFixedChargeCoverageRatio",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_MinimumRepaymentAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum Repayment Amount",
        "label": "Minimum Repayment Amount",
        "terseLabel": "Minimum repayment amount"
       }
      }
     },
     "localname": "MinimumRepaymentAmount",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_MontroseTwoThousandSeventeenStockIncentivePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Montrose two thousand seventeen stock incentive plan.",
        "label": "Montrose Two Thousand Seventeen Stock Incentive Plan [Member]",
        "terseLabel": "Montrose Amended &amp; Restated 2017 Stock Incentive Plan"
       }
      }
     },
     "localname": "MontroseTwoThousandSeventeenStockIncentivePlanMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfRestrictedStockActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_MontroseTwoThousandThirteenStockIncentivePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Montrose two thousand thirteen stock incentive plan.",
        "label": "Montrose Two Thousand Thirteen Stock Incentive Plan [Member]",
        "terseLabel": "Montrose Amended and Restated 2013 Stock Option Plan"
       }
      }
     },
     "localname": "MontroseTwoThousandThirteenStockIncentivePlanMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_MontroseTwoThousandThirteenStockOptionPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Montrose Two Thousand Thirteen Stock Option Plan.",
        "label": "Montrose Two Thousand Thirteen Stock Option Plan [Member]",
        "terseLabel": "Montrose Amended and Restated 2013 Stock Option Plan"
       }
      }
     },
     "localname": "MontroseTwoThousandThirteenStockOptionPlanMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareComputationOfBasicAndDilutedNetLossIncomePerShareAttributableToCommonStockholdersDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net income loss available to common stockholders basic and diluted.",
        "label": "Net Income Loss Available To Common Stockholders Basic And Diluted",
        "totalLabel": "Net loss attributable to common stockholders \u2013 basic and diluted"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareComputationOfBasicAndDilutedNetLossIncomePerShareAttributableToCommonStockholdersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_NetLeverageRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net leverage ratio.",
        "label": "Net Leverage Ratio",
        "terseLabel": "Net Leverage Ratio"
       }
      }
     },
     "localname": "NetLeverageRatio",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_NonCapitalizableFinancingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10130.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non capitalizable financing expenses.",
        "label": "Non Capitalizable Financing Expenses",
        "negatedLabel": "Expenses related to financing transactions"
       }
      }
     },
     "localname": "NonCapitalizableFinancingExpenses",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_NonCashAccretionOfRedeemableSeriesA1PreferredStockToRedeemableValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non cash accretion of redeemable series A one preferred stock to redeemable value.",
        "label": "Non Cash Accretion Of Redeemable Series A1 Preferred Stock To Redeemable Value",
        "terseLabel": "Accretion of the redeemable series A-1 preferred stock to redeemable value"
       }
      }
     },
     "localname": "NonCashAccretionOfRedeemableSeriesA1PreferredStockToRedeemableValue",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_NonCashAcquisitionContingentConsiderationPaidInShares": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non cash acquisition contingent consideration paid in shares.",
        "label": "Non Cash Acquisition Contingent Consideration Paid In Shares",
        "terseLabel": "Acquisitions contingent consideration paid in shares"
       }
      }
     },
     "localname": "NonCashAcquisitionContingentConsiderationPaidInShares",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_NonCashAcquisitionsUnpaidContingentLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non cash acquisitions unpaid contingent liabilities.",
        "label": "Non Cash Acquisitions Unpaid Contingent Liabilities",
        "terseLabel": "Acquisitions unpaid contingent consideration"
       }
      }
     },
     "localname": "NonCashAcquisitionsUnpaidContingentLiabilities",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_NonCashCommonStockIssuedToAcquireNewBusinesses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non cash common stock issued to acquire new businesses.",
        "label": "Non Cash Common Stock Issued To Acquire New Businesses",
        "terseLabel": "Common stock issued to acquire new businesses"
       }
      }
     },
     "localname": "NonCashCommonStockIssuedToAcquireNewBusinesses",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_NonCashOfferingCostsIncludedInAccountsPayableAndOtherAccruedLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non cash offering costs included in accounts payable and other accrued liabilities.",
        "label": "Non Cash Offering Costs Included In Accounts Payable And Other Accrued Liabilities",
        "terseLabel": "Offering costs included in accounts payable and other accrued liabilities"
       }
      }
     },
     "localname": "NonCashOfferingCostsIncludedInAccountsPayableAndOtherAccruedLiabilities",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_NonCashPropertyAndEquipmentPurchasedUnderFinanceLeases": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non cash property and equipment purchased under finance leases.",
        "label": "Non Cash Property And Equipment Purchased Under Finance Leases",
        "terseLabel": "Property and equipment purchased under finance leases"
       }
      }
     },
     "localname": "NonCashPropertyAndEquipmentPurchasedUnderFinanceLeases",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_NoncashPreferredStockDeemedDividendNetOfReturnFromHolders": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noncash preferred stock deemed dividend net of return from holders.",
        "label": "Noncash Preferred Stock Deemed Dividend Net Of Return From Holders",
        "terseLabel": "Preferred stock deemed dividend\u2014net of return from holders"
       }
      }
     },
     "localname": "NoncashPreferredStockDeemedDividendNetOfReturnFromHolders",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_NoncompeteAgreementsOtherAcquisitionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noncompete agreements other acquisitions.",
        "label": "Noncompete Agreements Other Acquisitions [Member]",
        "terseLabel": "Covenants Not to Compete Other Acquisitions"
       }
      }
     },
     "localname": "NoncompeteAgreementsOtherAcquisitionsMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_NumberOfAdditionalCommonStockOutstandingOwnedByRelatedParty": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of additional common stock outstanding owned by related party.",
        "label": "Number Of Additional Common Stock Outstanding Owned By Related Party",
        "terseLabel": "Number of additional common stock outstanding owned by related party"
       }
      }
     },
     "localname": "NumberOfAdditionalCommonStockOutstandingOwnedByRelatedParty",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_NumberOfDaysTwelvePercentDividendIncreaseRateApplicableNoncomplianceEventOccurred": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of days twelve percent dividend increase rate applicable noncompliance event occurred.",
        "label": "Number Of Days Twelve Percent Dividend Increase Rate Applicable Noncompliance Event Occurred",
        "terseLabel": "Number of days dividend increase rate applicable noncompliance event occurred"
       }
      }
     },
     "localname": "NumberOfDaysTwelvePercentDividendIncreaseRateApplicableNoncomplianceEventOccurred",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "meg_NumberOfOfficesInWhichEntityOperates": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of offices in which entity operates.",
        "label": "Number Of Offices In Which Entity Operates",
        "terseLabel": "Number of offices in which entity operates"
       }
      }
     },
     "localname": "NumberOfOfficesInWhichEntityOperates",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "meg_NumberOfTimesIncreaseInDebtIncurrenceTestRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of Times Increase In Debt Incurrence Test Ratio",
        "label": "Number Of Times Increase In Debt Incurrence Test Ratio",
        "terseLabel": "Number of times increase in debt incurrence test ratio"
       }
      }
     },
     "localname": "NumberOfTimesIncreaseInDebtIncurrenceTestRatio",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "meg_OfferingCostsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for offering costs.",
        "label": "Offering Costs Policy [Text Block]",
        "terseLabel": "Offering Costs, Initial Public Offering Expense and Follow-On Offering Expense"
       }
      }
     },
     "localname": "OfferingCostsPolicyTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_OperatingAndFinanceLeaseRightOfUseAssetAmortization": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10290.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating and finance lease right-of-use asset amortization.",
        "label": "Operating And Finance Lease Right Of Use Asset Amortization",
        "terseLabel": "Amortization of right-of-use asset"
       }
      }
     },
     "localname": "OperatingAndFinanceLeaseRightOfUseAssetAmortization",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_OperatingLossCarryforwardsBeginToExpireYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating loss carryforwards begin to expire year.",
        "label": "Operating Loss Carryforwards Begin To Expire Year",
        "terseLabel": "Operating loss carryforwards begin to expire year"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsBeginToExpireYear",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "meg_OperatingLossCarryforwardsNotSubjectToExpiration": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating Loss Carryforwards Not Subject To Expiration",
        "label": "Operating Loss Carryforwards Not Subject To Expiration",
        "terseLabel": "Loss carryforwards not subject to expiration"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsNotSubjectToExpiration",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_OperatingLossesGeneratedBeginningYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating losses generated beginning year.",
        "label": "Operating Losses Generated Beginning Year",
        "terseLabel": "Operating losses generated beginning year"
       }
      }
     },
     "localname": "OperatingLossesGeneratedBeginningYear",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "meg_OtherBusinessAcquisitionsPurchasePriceObligationsCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesSummaryOfAccountsPayableAndOtherAccruedLiabilitiesDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other business acquisitions purchase price obligations current.",
        "label": "Other Business Acquisitions Purchase Price Obligations Current",
        "terseLabel": "Other business acquisitions purchase price obligations"
       }
      }
     },
     "localname": "OtherBusinessAcquisitionsPurchasePriceObligationsCurrent",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesSummaryOfAccountsPayableAndOtherAccruedLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_OtherTwoThousandNineteenAcquisitionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other two thousand nineteen acquisition.",
        "label": "Other Two Thousand Nineteen Acquisition [Member]",
        "terseLabel": "All Other 2019 Acquisitions"
       }
      }
     },
     "localname": "OtherTwoThousandNineteenAcquisitionMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_OtherTwoThousandTwentyOneAcquisitionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other two thousand twenty one acquisitions.",
        "label": "Other Two Thousand Twenty One Acquisitions [Member]",
        "terseLabel": "All Other 2021 Acquisitions"
       }
      }
     },
     "localname": "OtherTwoThousandTwentyOneAcquisitionsMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_OtherTwoZeroTwoZeroAcquisitionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other two zero two zero acquisitions.",
        "label": "Other Two Zero Two Zero Acquisitions [Member]",
        "terseLabel": "All Other 2020 Acquisitions"
       }
      }
     },
     "localname": "OtherTwoZeroTwoZeroAcquisitionsMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_PaymentOfAssumedPurchasePriceObligations": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10230.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payment of assumed purchase price obligations.",
        "label": "Payment Of Assumed Purchase Price Obligations",
        "negatedLabel": "Payment of assumed purchase price obligations"
       }
      }
     },
     "localname": "PaymentOfAssumedPurchasePriceObligations",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_PaymentOfEarnOutLiabilitySharesIssuedAveragePricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payment of earn-out liability shares issued average price per share.",
        "label": "Payment Of Earn Out Liability Shares Issued Average Price Per Share",
        "terseLabel": "Payment of earn-out liability, Average Price per share"
       }
      }
     },
     "localname": "PaymentOfEarnOutLiabilitySharesIssuedAveragePricePerShare",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "meg_PaymentOfPurchasePriceTrueUpSharesIssuedAveragePricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payment of purchase price true up shares issued average price per share.",
        "label": "Payment Of Purchase Price True Up Shares Issued Average Price Per Share",
        "terseLabel": "Payment of purchase price true up, Average Price per share"
       }
      }
     },
     "localname": "PaymentOfPurchasePriceTrueUpSharesIssuedAveragePricePerShare",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "meg_PercentageOfAccumulatedDividendsPayableInCommonStockUponIPO": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of accumulated dividends payable in common stock upon IPO.",
        "label": "Percentage Of Accumulated Dividends Payable In Common Stock Upon I P O",
        "terseLabel": "Percentage of accumulated dividends payable in common stock upon IPO"
       }
      }
     },
     "localname": "PercentageOfAccumulatedDividendsPayableInCommonStockUponIPO",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfDiscountOnCommonStockMarketPrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage Of Discount On Common Stock Market Price.",
        "label": "Percentage Of Discount On Common Stock Market Price",
        "terseLabel": "Percentage of discount on common stock market price"
       }
      }
     },
     "localname": "PercentageOfDiscountOnCommonStockMarketPrice",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfDividendPayableInCash": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of dividend payable in cash.",
        "label": "Percentage Of Dividend Payable In Cash",
        "terseLabel": "Percentage of dividend payable in cash"
       }
      }
     },
     "localname": "PercentageOfDividendPayableInCash",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfDividendRateIncreaseEventOfNoncompliance": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of dividend rate increase per annum in the event of noncompliance",
        "label": "Percentage Of Dividend Rate Increase Event Of Noncompliance",
        "terseLabel": "Percentage of dividend rate increase per annum in the event of noncompliance"
       }
      }
     },
     "localname": "PercentageOfDividendRateIncreaseEventOfNoncompliance",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfDividendRateIncreaseUponNoncomplianceOccurredAndThereafter": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of dividend rate increase per annum upon noncompliance occurred and thereafter",
        "label": "Percentage Of Dividend Rate Increase Upon Noncompliance Occurred And Thereafter",
        "terseLabel": "Percentage of dividend rate increase per annum upon noncompliance occurred and thereafter"
       }
      }
     },
     "localname": "PercentageOfDividendRateIncreaseUponNoncomplianceOccurredAndThereafter",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfDividendRateStepsDownsPerYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage Of Dividend Rate Steps Downs Per Year",
        "label": "Percentage Of Dividend Rate Steps Downs Per Year",
        "terseLabel": "Percentage of dividend rate steps downs per year"
       }
      }
     },
     "localname": "PercentageOfDividendRateStepsDownsPerYear",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfDividendsAccrued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of dividends accrued.",
        "label": "Percentage Of Dividends Accrued",
        "terseLabel": "Percentage of dividends accrued"
       }
      }
     },
     "localname": "PercentageOfDividendsAccrued",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfEarnOutPaidInCash": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of earn out paid in cash.",
        "label": "Percentage Of Earn Out Paid In Cash",
        "terseLabel": "Percentage of earn out paid in cash"
       }
      }
     },
     "localname": "PercentageOfEarnOutPaidInCash",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfEarnOutPaidInCashAsResultOfCompletingOfInitialPublicOffering": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of earn out paid in cash, as result of completing of initial public offering.",
        "label": "Percentage Of Earn Out Paid In Cash As Result Of Completing Of Initial Public Offering",
        "terseLabel": "Percentage of earn out paid in cash, as result of completing of IPO"
       }
      }
     },
     "localname": "PercentageOfEarnOutPaidInCashAsResultOfCompletingOfInitialPublicOffering",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfEarnOutPaidInCommonStockAsResultOfCompletionOfInitialPublicOffering": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of earn out paid in common stock, as a result of completion of initial public offering.",
        "label": "Percentage Of Earn Out Paid In Common Stock As Result Of Completion Of Initial Public Offering",
        "terseLabel": "Percentage of earn out paid in common stock, as a result of completion of IPO"
       }
      }
     },
     "localname": "PercentageOfEarnOutPaidInCommonStockAsResultOfCompletionOfInitialPublicOffering",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfEarnOutPayableInCash": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of earn out payable in cash.",
        "label": "Percentage Of Earn Out Payable In Cash",
        "terseLabel": "Percentage of earn out payable in cash"
       }
      }
     },
     "localname": "PercentageOfEarnOutPayableInCash",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfEarnOutPayableInCashAsResultOfCompletionOfInitialPublicOffering": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of earn out payable in cash as result of completion of initial public offering.",
        "label": "Percentage Of Earn Out Payable In Cash As Result Of Completion Of Initial Public Offering",
        "terseLabel": "Percentage of earn out payable in cash, as result of completing of IPO"
       }
      }
     },
     "localname": "PercentageOfEarnOutPayableInCashAsResultOfCompletionOfInitialPublicOffering",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfEarnOutPayableInCommonStock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of earn out payable in common stock.",
        "label": "Percentage Of Earn Out Payable In Common Stock",
        "terseLabel": "Percentage of earn out payable in common stock"
       }
      }
     },
     "localname": "PercentageOfEarnOutPayableInCommonStock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfIncreaseInAccruedDividend": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of increase in accrued dividend.",
        "label": "Percentage Of Increase In Accrued Dividend",
        "terseLabel": "Percentage of increase in accrued dividend"
       }
      }
     },
     "localname": "PercentageOfIncreaseInAccruedDividend",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfInterestRateAdjustment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of interest rate adjustment.",
        "label": "Percentage Of Interest Rate Adjustment",
        "terseLabel": "Percentage of interest rate adjustment"
       }
      }
     },
     "localname": "PercentageOfInterestRateAdjustment",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfProceedsOfCertainDispositionsSubjectToCustomaryReinvestmentRights": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of proceeds of certain dispositions, subject to customary reinvestment rights.",
        "label": "Percentage Of Proceeds Of Certain Dispositions Subject To Customary Reinvestment Rights",
        "terseLabel": "Percentage of proceeds of certain dispositions, subject to customary reinvestment rights"
       }
      }
     },
     "localname": "PercentageOfProceedsOfCertainDispositionsSubjectToCustomaryReinvestmentRights",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfProceedsOfDebtSubjectToCustomaryExceptions": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of proceeds of debt subject to customary exceptions.",
        "label": "Percentage Of Proceeds Of Debt Subject To Customary Exceptions",
        "terseLabel": "Percentage of proceeds of debt, subject to customary exceptions"
       }
      }
     },
     "localname": "PercentageOfProceedsOfDebtSubjectToCustomaryExceptions",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PercentageOfProceedsOfInsuranceOrCondemnationSubjectToCustomaryReinvestmentRights": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of proceeds of insurance or condemnation, subject to customary reinvestment rights.",
        "label": "Percentage Of Proceeds Of Insurance Or Condemnation Subject To Customary Reinvestment Rights",
        "terseLabel": "Percentage of proceeds of insurance or condemnation, subject to customary reinvestment rights"
       }
      }
     },
     "localname": "PercentageOfProceedsOfInsuranceOrCondemnationSubjectToCustomaryReinvestmentRights",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PerformanceVestedRSUsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Performance vested RSUs.",
        "label": "Performance Vested R S Us [Member]",
        "terseLabel": "Performance-Vested RSUs"
       }
      }
     },
     "localname": "PerformanceVestedRSUsMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_PortionOfSARsSubjectToPerformanceHurdle": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portion of SARs subject to performance hurdle.",
        "label": "Portion Of S A Rs Subject To Performance Hurdle",
        "terseLabel": "Portion of SARs Subject to Performance Hurdle"
       }
      }
     },
     "localname": "PortionOfSARsSubjectToPerformanceHurdle",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfPerformanceHurdlesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_PrepaidAndOtherCurrentAssetsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prepaid and other current assets.",
        "label": "Prepaid And Other Current Assets [Text Block]",
        "terseLabel": "Prepaid and Other Current Assets"
       }
      }
     },
     "localname": "PrepaidAndOtherCurrentAssetsTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePrepaidAndOtherCurrentAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_PrepaymentProceedsFromPremiumOnCreditFacility": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10120.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prepayment (proceeds from) premium on credit facility.",
        "label": "Prepayment Proceeds From Premium On Credit Facility",
        "negatedLabel": "Prepayment premium on credit facility"
       }
      }
     },
     "localname": "PrepaymentProceedsFromPremiumOnCreditFacility",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_PricingTier1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pricing tier 1.",
        "label": "Pricing Tier1 [Member]",
        "terseLabel": "Pricing Tier1"
       }
      }
     },
     "localname": "PricingTier1Member",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_PricingTier2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pricing tier 2.",
        "label": "Pricing Tier2 [Member]",
        "terseLabel": "Pricing Tier2"
       }
      }
     },
     "localname": "PricingTier2Member",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_PricingTier3Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pricing tier 3.",
        "label": "Pricing Tier3 [Member]",
        "terseLabel": "Pricing Tier3"
       }
      }
     },
     "localname": "PricingTier3Member",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_PricingTier4Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pricing tier 4.",
        "label": "Pricing Tier4 [Member]",
        "terseLabel": "Pricing Tier4"
       }
      }
     },
     "localname": "PricingTier4Member",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_PricingTier5Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pricing Tier 5.",
        "label": "Pricing Tier5 [Member]",
        "terseLabel": "Pricing Tier5"
       }
      }
     },
     "localname": "PricingTier5Member",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_PriorSeniorSecuredCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prior senior secured credit facility.",
        "label": "Prior Senior Secured Credit Facility [Member]",
        "terseLabel": "Prior Senior Secured Credit Facility"
       }
      }
     },
     "localname": "PriorSeniorSecuredCreditFacilityMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_ProceedFromCollectionOfNotesReceivableFromStockholders": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10180.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceed from Collection of Notes Receivable from Stockholders",
        "label": "Proceed From Collection Of Notes Receivable From Stockholders",
        "terseLabel": "Collection of notes receivable"
       }
      }
     },
     "localname": "ProceedFromCollectionOfNotesReceivableFromStockholders",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_ProceedsFromNetWorkingCapitalAdjustmentRelatedToAcquisitions": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10240.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from net working capital adjustment related to acquisitions.",
        "label": "Proceeds From Net Working Capital Adjustment Related To Acquisitions",
        "terseLabel": "Proceeds from net working capital adjustment related to acquisitions"
       }
      }
     },
     "localname": "ProceedsFromNetWorkingCapitalAdjustmentRelatedToAcquisitions",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_PublicOfferingExpense": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10110.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public offering expense.",
        "label": "Public Offering Expense",
        "negatedLabel": "Public offering expense"
       }
      }
     },
     "localname": "PublicOfferingExpense",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_RateLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate loans.",
        "label": "Rate Loans [Member]",
        "terseLabel": "Rate Loans"
       }
      }
     },
     "localname": "RateLoansMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_RecoveriesOfLoansPreviouslyChargedOffDeferredOffset": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recoveries Of Loans Previously Charged Off Deferred Offset",
        "label": "Recoveries Of Loans Previously Charged Off Deferred Offset",
        "terseLabel": "Deferred offset"
       }
      }
     },
     "localname": "RecoveriesOfLoansPreviouslyChargedOffDeferredOffset",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_RedeemableA1PreferredStockWarrantRedeemedOrCalledDuringPeriodPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redeemable A-1 preferred stock warrant redeemed or called during period per share.",
        "label": "Redeemable A1 Preferred Stock Warrant Redeemed Or Called During Period Per Share",
        "terseLabel": "Exercise of warrants options, Average Price per Share"
       }
      }
     },
     "localname": "RedeemableA1PreferredStockWarrantRedeemedOrCalledDuringPeriodPerShare",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "meg_RedeemablePreferredStockDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redeemable Preferred Stock Disclosure [Text Block]",
        "label": "Redeemable Preferred Stock Disclosure [Text Block]",
        "terseLabel": "Redeemable Series A-1 Preferred Stock"
       }
      }
     },
     "localname": "RedeemablePreferredStockDisclosureTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStock"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_RedeemableSeriesA2PreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redeemable series A2 preferred stock.",
        "label": "Redeemable Series A2 Preferred Stock [Member]",
        "terseLabel": "Redeemable Series A-2 Preferred Stock"
       }
      }
     },
     "localname": "RedeemableSeriesA2PreferredStockMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_RedeemableSeriesAOnePreferredStockAndConvertibleAndRedeemableSeriesATwoPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redeemable series A one preferred stock and convertible and redeemable series A two preferred stock.",
        "label": "Redeemable Series A One Preferred Stock And Convertible And Redeemable Series A Two Preferred Stock [Member]",
        "terseLabel": "Redeemable Series A-1 Preferred Stock and Convertible and Redeemable Series A-2 Preferred Stock"
       }
      }
     },
     "localname": "RedeemableSeriesAOnePreferredStockAndConvertibleAndRedeemableSeriesATwoPreferredStockMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_RedeemableSeriesAOnePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redeemable series A one preferred stock.",
        "label": "Redeemable Series A One Preferred Stock [Member]",
        "terseLabel": "Redeemable Series A-1 Preferred Stock"
       }
      }
     },
     "localname": "RedeemableSeriesAOnePreferredStockMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_RedemptionOfPreferredStockInCommonShares": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redemption of preferred stock in common shares.",
        "label": "Redemption Of Preferred Stock In Common Shares",
        "terseLabel": "Redemption of preferred stock in common shares"
       }
      }
     },
     "localname": "RedemptionOfPreferredStockInCommonShares",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_ReducedMinimumRepaymentAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reduced Minimum Repayment Amount",
        "label": "Reduced Minimum Repayment Amount",
        "terseLabel": "Minimum repayment amount drop down"
       }
      }
     },
     "localname": "ReducedMinimumRepaymentAmount",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_RemediationAndReuseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remediation and Reuse.",
        "label": "Remediation And Reuse [Member]",
        "terseLabel": "Remediation and Reuse"
       }
      }
     },
     "localname": "RemediationAndReuseMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_RemediationAndReuseSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remediation and reuse segment.",
        "label": "Remediation And Reuse Segment [Member]",
        "terseLabel": "Remediation and Reuse Segment"
       }
      }
     },
     "localname": "RemediationAndReuseSegmentMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToGoodwillDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_RepaymentOfFinanceLeases": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10090.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Repayment of finance leases.",
        "label": "Repayment Of Finance Leases",
        "negatedLabel": "Repayment of finance leases"
       }
      }
     },
     "localname": "RepaymentOfFinanceLeases",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_RevenuesAndAccountsReceivableAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenues and accounts receivable abstract.",
        "label": "Revenues And Accounts Receivable [Abstract]"
       }
      }
     },
     "localname": "RevenuesAndAccountsReceivableAbstract",
     "nsuri": "http://montrose-env.com/20211231",
     "xbrltype": "stringItemType"
    },
    "meg_RevenuesAndAccountsReceivableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entire disclosure of revenues and accounts receivable.",
        "label": "Revenues And Accounts Receivable [Text Block]",
        "terseLabel": "Revenues And Accounts Receivable"
       }
      }
     },
     "localname": "RevenuesAndAccountsReceivableTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivable"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_SARStockPricePerformanceHurdleOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SAR stock price performance hurdle one.",
        "label": "S A R Stock Price Performance Hurdle One [Member]",
        "terseLabel": "SAR Stock Price Performance Hurdle One"
       }
      }
     },
     "localname": "SARStockPricePerformanceHurdleOneMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfPerformanceHurdlesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_SARStockPricePerformanceHurdleThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SAR stock price performance hurdle three.",
        "label": "S A R Stock Price Performance Hurdle Three [Member]",
        "terseLabel": "SAR Stock Price Performance Hurdle Three"
       }
      }
     },
     "localname": "SARStockPricePerformanceHurdleThreeMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfPerformanceHurdlesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_SARStockPricePerformanceHurdleTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SAR stock price performance hurdle two.",
        "label": "S A R Stock Price Performance Hurdle Two [Member]",
        "terseLabel": "SAR Stock Price Performance Hurdle Two"
       }
      }
     },
     "localname": "SARStockPricePerformanceHurdleTwoMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfPerformanceHurdlesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_ScheduleOfCashFlowSupplementalDisclosuresRelatedToLeasesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Cash Flow Supplemental Disclosures Related To Leases Table [Text Block]",
        "terseLabel": "Summary of Supplemental Cash Flow Information Related To Leases"
       }
      }
     },
     "localname": "ScheduleOfCashFlowSupplementalDisclosuresRelatedToLeasesTableTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_ScheduleOfCommonStockForFutureIssuanceTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule Of Common Stock for Future Issuance.",
        "label": "Schedule Of Common Stock For Future Issuance Table [Text Block]",
        "terseLabel": "Schedule of Common Stock Reserved for Future Issuance"
       }
      }
     },
     "localname": "ScheduleOfCommonStockForFutureIssuanceTableTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_ScheduleOfMaturitiesOfLeaseLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of maturities of lease liabilities.",
        "label": "Schedule Of Maturities Of Lease Liabilities Table [Text Block]",
        "terseLabel": "Schedule of Maturities of Lease Liabilities"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLeaseLiabilitiesTableTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_ScheduleOfPrepaidAndOtherCurrentAssetsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of prepaid and other current assets.",
        "label": "Schedule Of Prepaid And Other Current Assets Table [Text Block]",
        "terseLabel": "Schedule of Prepaid and Other Current Assets"
       }
      }
     },
     "localname": "ScheduleOfPrepaidAndOtherCurrentAssetsTableTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePrepaidAndOtherCurrentAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_ScheduleOfShareAuthorizedToIssueAndAvailableForGrantTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Share Authorized to Issue and Available for Grant.",
        "label": "Schedule Of Share Authorized To Issue And Available For Grant Table [Text Block]",
        "terseLabel": "Schedule of Share Authorized to be Issue and Available for Grant"
       }
      }
     },
     "localname": "ScheduleOfShareAuthorizedToIssueAndAvailableForGrantTableTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_ScheduleOfShareBasedCompensationStockAppreciationRightsStockPricePerformanceHurdleTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of share based compensation stock appreciation rights stock price performance hurdle.",
        "label": "Schedule Of Share Based Compensation Stock Appreciation Rights Stock Price Performance Hurdle Table [Text Block]",
        "terseLabel": "Summary of Performance Hurdles"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockAppreciationRightsStockPricePerformanceHurdleTableTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_SensibleloTLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SensibleloT, LLC.",
        "label": "Sensiblelo T L L C [Member]",
        "terseLabel": "Sensible"
       }
      }
     },
     "localname": "SensibleloTLLCMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAveragePricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award equity instruments other than options average price per share.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Average Price Per Share",
        "terseLabel": "Average Price per Share",
        "verboseLabel": "Restricted shares net, Average Price per Share"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAveragePricePerShare",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfRestrictedStockActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "meg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpiredWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based compensation arrangement by share-based payment award, equity instruments other than options, expired, weighted average grant date fair value.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Expired Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted Average Grant Date Fair Value per Share Expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpiredWeightedAverageGrantDateFairValue",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "meg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsRemainingContractualTerms": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award equity instruments other than options remaining contractual terms.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Remaining Contractual Terms",
        "terseLabel": "Remaining contractual terms"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsRemainingContractualTerms",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "meg_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisedOptionsOutstandingNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award exercised options outstanding number.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Exercised Options Outstanding Number",
        "terseLabel": "Shares outstanding from exercised options"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisedOptionsOutstandingNumber",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedForfeitureRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award fair value assumptions expected forfeiture rate.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Forfeiture Rate",
        "terseLabel": "Forfeiture rate"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedForfeitureRate",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "meg_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageGrantDateFairValuePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award options vested and expected to vest outstanding weighted average grant date fair value per share.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Vested And Expected To Vest Outstanding Weighted Average Grant Date Fair Value Per Share",
        "terseLabel": "Weighted-Average Grant date Fair Value per Share Options vested and expected to vest"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageGrantDateFairValuePerShare",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "meg_SharesIssuedAverageExercisePricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares issued average exercise price per share.",
        "label": "Shares Issued Average Exercise Price Per Share",
        "verboseLabel": "Exercise of options, Average Price per Share"
       }
      }
     },
     "localname": "SharesIssuedAverageExercisePricePerShare",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "meg_SharesIssuedAveragePricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares issued average price per share.",
        "label": "Shares Issued Average Price Per Share",
        "verboseLabel": "Common stock issued, Average Price per Shares"
       }
      }
     },
     "localname": "SharesIssuedAveragePricePerShare",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "meg_ShortTermPurchaseAccountingFairValueAdjustmentToDeferredRevenue": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10100.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Short term purchase accounting fair value adjustment to deferred revenue.",
        "label": "Short Term Purchase Accounting Fair Value Adjustment To Deferred Revenue",
        "negatedLabel": "Short term purchase accounting fair value adjustment to deferred revenue"
       }
      }
     },
     "localname": "ShortTermPurchaseAccountingFairValueAdjustmentToDeferredRevenue",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_SignificantAccountingPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant Accounting Policies [Line Items]",
        "label": "Significant Accounting Policies [Line Items]",
        "terseLabel": "Significant Accounting Policies [Line Items]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesLineItems",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "meg_SignificantAccountingPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant Accounting Policies [Table]",
        "label": "Significant Accounting Policies [Table]",
        "terseLabel": "Significant Accounting Policies [Table]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTable",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "meg_SignificantCustomerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant customer.",
        "label": "Significant Customer [Member]",
        "terseLabel": "Significant Customer"
       }
      }
     },
     "localname": "SignificantCustomerMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_SixtyDayPeriodPriorToSeventhAnniversaryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sixty day period prior to seventh anniversary.",
        "label": "Sixty Day Period Prior To Seventh Anniversary [Member]",
        "terseLabel": "60-Day Period Prior to Seventh Anniversary"
       }
      }
     },
     "localname": "SixtyDayPeriodPriorToSeventhAnniversaryMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_StockAppreciationRightsUnitsGrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock appreciation rights units grant.",
        "label": "Stock Appreciation Rights Units Grant [Member]",
        "terseLabel": "Stock Appreciation Rights Units Grant"
       }
      }
     },
     "localname": "StockAppreciationRightsUnitsGrantMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_StockIssuedDuringPeriodNetOfCancelledShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period, net of cancelled, shares.",
        "label": "Stock Issued During Period Net Of Cancelled Shares",
        "terseLabel": "Common Stock Issued and Cancelled, Shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodNetOfCancelledShares",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_StockIssuedDuringPeriodNetOfCancelledValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period net of cancelled value.",
        "label": "Stock Issued During Period Net Of Cancelled Value",
        "terseLabel": "Common Stock Issued and Cancelled, Total"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodNetOfCancelledValue",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_StockIssuedDuringPeriodSharesNewIssuesInConnectionWithFollowOnOfferingNetOfIssuanceCosts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock Issued During Period Shares New Issues In Connection With Follow On Offering Net Of Issuance Costs.",
        "label": "Stock Issued During Period Shares New Issues In Connection With Follow On Offering Net Of Issuance Costs",
        "terseLabel": "Issuance of common stock in connection with follow-on offering, net of issuance costs of0.6 million, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssuesInConnectionWithFollowOnOfferingNetOfIssuanceCosts",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_StockIssuedDuringPeriodSharesNewIssuesInConnectionWithInitialPublicOfferingNetOfIssuanceCosts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period shares new issues in connection with initial public offering net of issuance costs.",
        "label": "Stock Issued During Period Shares New Issues In Connection With Initial Public Offering Net Of Issuance Costs",
        "terseLabel": "Issuance of common stock in connection with initial public offering, net of issuance costs of $15.6 million, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssuesInConnectionWithInitialPublicOfferingNetOfIssuanceCosts",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_StockIssuedDuringPeriodSharesNewIssuesRedemptionOfPreferredStock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period shares new issues redemption of preferred stock.",
        "label": "Stock Issued During Period Shares New Issues Redemption Of Preferred Stock",
        "negatedLabel": "Redemption of the series A-1, shares",
        "verboseLabel": "Redemption of Series A-1, Shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssuesRedemptionOfPreferredStock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_StockIssuedDuringPeriodSharesPaymentOfEarnOutLiability": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period shares, payment of earn-out liability.",
        "label": "Stock Issued During Period Shares Payment Of Earn Out Liability",
        "terseLabel": "Payment of earn-out liability, Shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesPaymentOfEarnOutLiability",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_StockIssuedDuringPeriodSharesPaymentOfPurchasePriceTrueUp": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period shares, payment of purchase price true up.",
        "label": "Stock Issued During Period Shares Payment Of Purchase Price True Up",
        "terseLabel": "Payment of purchase price true up, Shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesPaymentOfPurchasePriceTrueUp",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_StockIssuedDuringPeriodSharesWarrantsExercised": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period shares, warrants exercised.",
        "label": "Stock Issued During Period Shares Warrants Exercised",
        "terseLabel": "Stock issued on exercise of warrants"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesWarrantsExercised",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_StockIssuedDuringPeriodValueExerciseOfWarrants": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period value exercise of warrants.",
        "label": "Stock Issued During Period Value Exercise Of Warrants",
        "terseLabel": "Exercise of warrants options, Total"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueExerciseOfWarrants",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_StockIssuedDuringPeriodValueNewIssuesInConnectionWithFollowOnOfferingNetOfIssuanceCosts": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock Issued During Period Value New Issues In Connection With Follow on Offering Net Of Issuance Costs.",
        "label": "Stock Issued During Period Value New Issues In Connection With Follow On Offering Net Of Issuance Costs",
        "terseLabel": "Issuance of common stock in connection with follow-on offering, net of issuance costs of $0.6 million"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssuesInConnectionWithFollowOnOfferingNetOfIssuanceCosts",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_StockIssuedDuringPeriodValueNewIssuesInConnectionWithInitialPublicOfferingNetOfIssuanceCosts": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period value new issues in connection with initial public offering net of issuance costs.",
        "label": "Stock Issued During Period Value New Issues In Connection With Initial Public Offering Net Of Issuance Costs",
        "terseLabel": "Issuance of common stock in connection with initial public offering"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssuesInConnectionWithInitialPublicOfferingNetOfIssuanceCosts",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_StockIssuedDuringPeriodValueNewIssuesRedemptionOfPreferredStock": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period value new issues redemption of preferred stock.",
        "label": "Stock Issued During Period Value New Issues Redemption Of Preferred Stock",
        "negatedLabel": "Redemption of the series A-1 preferred stock",
        "terseLabel": "Redemption of Series A-1, Total"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssuesRedemptionOfPreferredStock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_StockIssuedDuringPeriodValuePaymentOfEarnOutLiability": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period value payment of earn-out liability.",
        "label": "Stock Issued During Period Value Payment Of Earn Out Liability",
        "terseLabel": "Payment of earn-out liability, Total"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValuePaymentOfEarnOutLiability",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_StockIssuedDuringPeriodValuePaymentOfPurchasePriceTrueUp": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period value payment of purchase price true up.",
        "label": "Stock Issued During Period Value Payment Of Purchase Price True Up",
        "terseLabel": "Payment of purchase price true up, Total"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValuePaymentOfPurchasePriceTrueUp",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_StockRedeemedOrCalledDuringPeriodPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock redeemed or called during period per share.",
        "label": "Stock Redeemed Or Called During Period Per Share",
        "terseLabel": "Redemption of Series A-1, Average Price per Share"
       }
      }
     },
     "localname": "StockRedeemedOrCalledDuringPeriodPerShare",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "meg_SummaryOfCreditFacilityInterestRateSubjectToLeverageRatioAndLIBORTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary Of Credit Facility Interest Rate Subject To Leverage Ratio And L I B O R Table [Text Block]",
        "terseLabel": "Summary of 2021 Credit Facility Interest Rate Subject to Leverage Ratio and LIBOR"
       }
      }
     },
     "localname": "SummaryOfCreditFacilityInterestRateSubjectToLeverageRatioAndLIBORTableTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_SummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of issued, cancelled and repurchased shares of common stock.",
        "label": "Summary Of Issued Cancelled And Repurchased Shares Of Common Stock Table [Text Block]",
        "terseLabel": "Summary of Issued, Cancelled and Repurchased Shares of Common Stock"
       }
      }
     },
     "localname": "SummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockTableTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_SummaryOfTermLoanAmortizationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of term loan amortization.",
        "label": "Summary Of Term Loan Amortization Table [Text Block]",
        "terseLabel": "Summary of Term Loan Amortization"
       }
      }
     },
     "localname": "SummaryOfTermLoanAmortizationTableTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_SummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of weighted average remaining lease terms and weighted average discount rates.",
        "label": "Summary Of Weighted Average Remaining Lease Terms And Weighted Average Discount Rates Table [Text Block]",
        "terseLabel": "Summary of Weighted Average Remaining Lease Terms and Weighted Average Discount Rates"
       }
      }
     },
     "localname": "SummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesTableTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_SupplementalIncentivePlansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Supplemental incentive plans.",
        "label": "Supplemental Incentive Plans [Member]",
        "terseLabel": "Supplemental Incentive Plans"
       }
      }
     },
     "localname": "SupplementalIncentivePlansMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_TargetEmissionServicesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Target Emission Services Inc.",
        "label": "Target Emission Services Inc [Member]",
        "terseLabel": "TES"
       }
      }
     },
     "localname": "TargetEmissionServicesIncMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_TargetEmissionServicesUSALPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Target Emission Services USA LP.",
        "label": "Target Emission Services U S A L P [Member]",
        "terseLabel": "TESUS"
       }
      }
     },
     "localname": "TargetEmissionServicesUSALPMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_TemporaryEquityConvertibleIntoCommonStock": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary equity convertible into common stock.",
        "label": "Temporary Equity Convertible Into Common Stock",
        "terseLabel": "Temporary equity convertible into common stock"
       }
      }
     },
     "localname": "TemporaryEquityConvertibleIntoCommonStock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_TemporaryEquityCovenantDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary equity covenant description.",
        "label": "Temporary Equity Covenant Description",
        "terseLabel": "Temporary equity, covenant description"
       }
      }
     },
     "localname": "TemporaryEquityCovenantDescription",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "meg_TemporaryEquityDeemedDividendValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary equity deemed dividend value.",
        "label": "Temporary Equity Deemed Dividend Value",
        "terseLabel": "Series A-1 preferred stock deemed dividend"
       }
      }
     },
     "localname": "TemporaryEquityDeemedDividendValue",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_TemporaryEquityMaturityMonthAndYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary Equity Maturity Month And Year",
        "label": "Temporary Equity Maturity Month And Year",
        "terseLabel": "Temporary equity, maturity month and year"
       }
      }
     },
     "localname": "TemporaryEquityMaturityMonthAndYear",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "meg_TemporaryEquityPenaltyTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary Equity Penalty Term",
        "label": "Temporary Equity Penalty Term",
        "terseLabel": "Temporary equity, penalty term"
       }
      }
     },
     "localname": "TemporaryEquityPenaltyTerm",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "meg_TemporaryEquityPenaltyTermUponFullExerciseOfWarrant": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary Equity Penalty Term Upon Full Exercise Of Warrant",
        "label": "Temporary Equity Penalty Term Upon Full Exercise Of Warrant",
        "terseLabel": "Temporary equity, penalty term upon full exercise of warrant"
       }
      }
     },
     "localname": "TemporaryEquityPenaltyTermUponFullExerciseOfWarrant",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "meg_TemporaryEquityStockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary equity stock issued during period shares new issues.",
        "label": "Temporary Equity Stock Issued During Period Shares New Issues",
        "terseLabel": "Issuance of the convertible and redeemable series A-2 preferred stock, Shares"
       }
      }
     },
     "localname": "TemporaryEquityStockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "sharesItemType"
    },
    "meg_TermLoanFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term loan facility.",
        "label": "Term Loan Facility [Member]",
        "terseLabel": "Term Loan Facility"
       }
      }
     },
     "localname": "TermLoanFacilityMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_TheCenterForToxicologyAndEnvironmentalHealthLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The center for toxicology and environmental health, LLC.",
        "label": "The Center For Toxicology And Environmental Health L L C [Member]",
        "terseLabel": "CTEH"
       }
      }
     },
     "localname": "TheCenterForToxicologyAndEnvironmentalHealthLLCMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_TwentyTwentyCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Twenty twenty credit facility.",
        "label": "Twenty Twenty Credit Facility [Member]",
        "terseLabel": "Twenty Twenty Credit Facility"
       }
      }
     },
     "localname": "TwentyTwentyCreditFacilityMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_TwentyTwentyOneCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "2021 Credit Facility.",
        "label": "Twenty Twenty One Credit Facility [Member]",
        "terseLabel": "2021 Credit Facility"
       }
      }
     },
     "localname": "TwentyTwentyOneCreditFacilityMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_TwoThousandAndTwentyEarnOutMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "2020 earn out.",
        "label": "Two Thousand And Twenty Earn Out [Member]",
        "terseLabel": "2020 Earn Out"
       }
      }
     },
     "localname": "TwoThousandAndTwentyEarnOutMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_TwoThousandAndTwentyFiveEarnOutsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "2025 earn out.",
        "label": "Two Thousand And Twenty Five Earn Outs [Member]",
        "terseLabel": "2025 Earn Out"
       }
      }
     },
     "localname": "TwoThousandAndTwentyFiveEarnOutsMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_TwoThousandAndTwentyOneEarnOutMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "2021 earn out.",
        "label": "Two Thousand And Twenty One Earn Out [Member]",
        "terseLabel": "2021 Earn Out"
       }
      }
     },
     "localname": "TwoThousandAndTwentyOneEarnOutMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_TwoThousandAndTwentyTwoEarnOutsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "2022 earn out.",
        "label": "Two Thousand And Twenty Two Earn Outs [Member]",
        "terseLabel": "2022 Earn Out"
       }
      }
     },
     "localname": "TwoThousandAndTwentyTwoEarnOutsMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_TwoThousandSeventeenPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two thousand seventeen plan.",
        "label": "Two Thousand Seventeen Plan [Member]",
        "terseLabel": "Two Thousand Seventeen Plan",
        "verboseLabel": "2017 Plan"
       }
      }
     },
     "localname": "TwoThousandSeventeenPlanMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_TwoThousandThirteenPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two thousand thirteen plan.",
        "label": "Two Thousand Thirteen Plan [Member]",
        "terseLabel": "2013 Plan"
       }
      }
     },
     "localname": "TwoThousandThirteenPlanMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_UnderwritingDiscountsExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Underwriting discounts expenses.",
        "label": "Underwriting Discounts Expenses",
        "terseLabel": "Underwriting discounts"
       }
      }
     },
     "localname": "UnderwritingDiscountsExpenses",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "meg_VistaAnalyticalLaboratoryIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vista analytical laboratory,inc.",
        "label": "Vista Analytical Laboratory Inc [Member]",
        "terseLabel": "Vista"
       }
      }
     },
     "localname": "VistaAnalyticalLaboratoryIncMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_WarrantOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrant option.",
        "label": "Warrant Option [Member]",
        "terseLabel": "Warrant Option",
        "verboseLabel": "Warrants"
       }
      }
     },
     "localname": "WarrantOptionMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareEquitySharesExcludedFromCalculationOfDilutedNetLossPerShareAttributableToCommonStockholdersDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_WarrantOptionsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrant options disclosure.",
        "label": "Warrant Options Disclosure [Text Block]",
        "terseLabel": "Warrant Options"
       }
      }
     },
     "localname": "WarrantOptionsDisclosureTextBlock",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "meg_YearFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Year five.",
        "label": "Year Five [Member]",
        "terseLabel": "Year 5"
       }
      }
     },
     "localname": "YearFiveMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "meg_YearSixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Year six.",
        "label": "Year Six [Member]",
        "terseLabel": "Year 6"
       }
      }
     },
     "localname": "YearSixMember",
     "nsuri": "http://montrose-env.com/20211231",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ConsolidationItemsAxis": {
     "auth_ref": [
      "r137",
      "r201",
      "r220",
      "r221",
      "r222",
      "r223",
      "r225",
      "r227",
      "r231",
      "r308",
      "r309",
      "r310",
      "r311",
      "r312",
      "r313",
      "r315",
      "r316",
      "r318",
      "r320",
      "r321"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Axis]",
        "terseLabel": "Consolidation Items"
       }
      }
     },
     "localname": "ConsolidationItemsAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidationItemsDomain": {
     "auth_ref": [
      "r137",
      "r201",
      "r220",
      "r221",
      "r222",
      "r223",
      "r225",
      "r227",
      "r231",
      "r308",
      "r309",
      "r310",
      "r311",
      "r312",
      "r313",
      "r315",
      "r316",
      "r318",
      "r320",
      "r321"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Domain]",
        "terseLabel": "Consolidation Items"
       }
      }
     },
     "localname": "ConsolidationItemsDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_DirectorMember": {
     "auth_ref": [
      "r238"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Director [Member]",
        "terseLabel": "Board of Directors"
       }
      }
     },
     "localname": "DirectorMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ExecutiveOfficerMember": {
     "auth_ref": [
      "r238"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Executive Officer [Member]",
        "terseLabel": "Executive Officers"
       }
      }
     },
     "localname": "ExecutiveOfficerMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MajorCustomersAxis": {
     "auth_ref": [
      "r236",
      "r390",
      "r394",
      "r721"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Major Customers [Axis]",
        "terseLabel": "Customer"
       }
      }
     },
     "localname": "MajorCustomersAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r326",
      "r368",
      "r412",
      "r415",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r720",
      "r722",
      "r748",
      "r749"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum",
        "verboseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r326",
      "r368",
      "r412",
      "r415",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r720",
      "r722",
      "r748",
      "r749"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_NameOfMajorCustomerDomain": {
     "auth_ref": [
      "r236",
      "r390",
      "r394",
      "r721"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Name Of Major Customer [Domain]",
        "terseLabel": "Customer"
       }
      }
     },
     "localname": "NameOfMajorCustomerDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r326",
      "r368",
      "r400",
      "r412",
      "r415",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r720",
      "r722",
      "r748",
      "r749"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Range [Axis]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r326",
      "r368",
      "r400",
      "r412",
      "r415",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r720",
      "r722",
      "r748",
      "r749"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Range [Member]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioForecastMember": {
     "auth_ref": [
      "r154",
      "r413"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario Forecast [Member]",
        "terseLabel": "Forecast"
       }
      }
     },
     "localname": "ScenarioForecastMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r154",
      "r159",
      "r413"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario Unspecified [Domain]",
        "terseLabel": "Scenario"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r154",
      "r159",
      "r302",
      "r413",
      "r661"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Scenario [Axis]",
        "terseLabel": "Scenario"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r238",
      "r652"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title Of Individual [Axis]",
        "terseLabel": "Title of Individual"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title Of Individual With Relationship To Entity [Domain]",
        "terseLabel": "Title of Individual"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingStandardsUpdate201602Member": {
     "auth_ref": [
      "r626"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2016-02 Leases (Topic 842).",
        "label": "Accounting Standards Update201602 [Member]",
        "terseLabel": "Accounting Standards Update 2016-02"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201602Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingStandardsUpdate201613Member": {
     "auth_ref": [
      "r249"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2016-13 Financial Instruments-Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments.",
        "label": "Accounting Standards Update201613 [Member]",
        "terseLabel": "Accounting Standards Update 2016-13"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201613Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingStandardsUpdate201912Member": {
     "auth_ref": [
      "r494",
      "r495",
      "r496",
      "r497"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2019-12 Income Taxes (Topic 740): Simplifying the Accounting for Income Taxes.",
        "label": "Accounting Standards Update201912 [Member]",
        "terseLabel": "Accounting Standards Update 2019-12"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201912Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsNotesAndLoansReceivableLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Accounts Notes And Loans Receivable [Line Items]",
        "terseLabel": "Accounts Notes And Loans Receivable [Line Items]"
       }
      }
     },
     "localname": "AccountsNotesAndLoansReceivableLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for accounts payable, accrued expenses, and other liabilities that are classified as current at the end of the reporting period.",
        "label": "Accounts Payable Accrued Liabilities And Other Liabilities Disclosure Current [Text Block]",
        "terseLabel": "Accounts Payable and Other Accrued Liabilities"
       }
      }
     },
     "localname": "AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock": {
     "auth_ref": [
      "r54"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for accounts payable and accrued liabilities at the end of the reporting period.",
        "label": "Accounts Payable And Accrued Liabilities Disclosure [Text Block]",
        "terseLabel": "Accrued Payroll and Benefits"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesSummaryOfAccountsPayableAndOtherAccruedLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10170.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities incurred to vendors for goods and services received, and accrued liabilities classified as other, payable within one year or the normal operating cycle, if longer.",
        "label": "Accounts Payable And Other Accrued Liabilities Current",
        "terseLabel": "Accounts payable and other accrued liabilities",
        "totalLabel": "Total accounts payable and other accrued liabilities"
       }
      }
     },
     "localname": "AccountsPayableAndOtherAccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesSummaryOfAccountsPayableAndOtherAccruedLiabilitiesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableCurrent": {
     "auth_ref": [
      "r53",
      "r658"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesSummaryOfAccountsPayableAndOtherAccruedLiabilitiesDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accounts Payable Current",
        "terseLabel": "Accounts payable"
       }
      }
     },
     "localname": "AccountsPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesSummaryOfAccountsPayableAndOtherAccruedLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r136",
      "r650",
      "r691",
      "r712"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount for accounts payable to related parties.",
        "label": "Accounts Payable Related Parties Current And Noncurrent",
        "terseLabel": "Amount due to related party"
       }
      }
     },
     "localname": "AccountsPayableRelatedPartiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableGross": {
     "auth_ref": [
      "r239"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAccountsReceivableNetDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_AccountsReceivableNetCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business.",
        "label": "Accounts Receivable Gross",
        "terseLabel": "Accounts receivable, invoiced"
       }
      }
     },
     "localname": "AccountsReceivableGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAccountsReceivableNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableMember": {
     "auth_ref": [
      "r742"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Due from customers or clients for goods or services that have been delivered or sold.",
        "label": "Accounts Receivable [Member]",
        "terseLabel": "Accounts Receivable"
       }
      }
     },
     "localname": "AccountsReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "auth_ref": [
      "r17",
      "r40",
      "r239",
      "r240"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAccountsReceivableNetDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10330.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
        "label": "Accounts Receivable Net Current",
        "terseLabel": "Accounts receivable\u2014net",
        "totalLabel": "Accounts receivable\u2014net"
       }
      }
     },
     "localname": "AccountsReceivableNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAccountsReceivableNetDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedBonusesCurrent": {
     "auth_ref": [
      "r24",
      "r25",
      "r59"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefitsScheduleOfAccruedPayrollAndBenefitsDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_AccruedEmployeeBenefitsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable for incentive compensation awarded to employees and directors or earned by them based on the terms of one or more relevant arrangements. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Bonuses Current",
        "terseLabel": "Accrued bonuses"
       }
      }
     },
     "localname": "AccruedBonusesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefitsScheduleOfAccruedPayrollAndBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedEmployeeBenefitsCurrent": {
     "auth_ref": [
      "r24",
      "r25",
      "r59"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefitsScheduleOfAccruedPayrollAndBenefitsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10180.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations, excluding pension and other postretirement benefits, incurred through that date and payable for perquisites provided to employees pertaining to services received from them. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Employee Benefits Current",
        "terseLabel": "Accrued payroll and benefits",
        "totalLabel": "Total accrued payroll and benefits"
       }
      }
     },
     "localname": "AccruedEmployeeBenefitsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefitsScheduleOfAccruedPayrollAndBenefitsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r59"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesSummaryOfAccountsPayableAndOtherAccruedLiabilitiesDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Liabilities Current",
        "terseLabel": "Accrued expenses"
       }
      }
     },
     "localname": "AccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesSummaryOfAccountsPayableAndOtherAccruedLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedPayrollTaxesCurrent": {
     "auth_ref": [
      "r25",
      "r59"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefitsScheduleOfAccruedPayrollAndBenefitsDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_AccruedEmployeeBenefitsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable for statutory payroll taxes incurred through that date and withheld from employees pertaining to services received from them, including entity's matching share of the employees FICA taxes and contributions to the state and federal unemployment insurance programs. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Payroll Taxes Current",
        "terseLabel": "Accrued payroll"
       }
      }
     },
     "localname": "AccruedPayrollTaxesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefitsScheduleOfAccruedPayrollAndBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r51",
      "r289"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails": {
       "order": 10740.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation Depletion And Amortization Property Plant And Equipment",
        "negatedLabel": "Less accumulated depreciation"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r43",
      "r74",
      "r75",
      "r76",
      "r707",
      "r730",
      "r734"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10080.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income Loss Net Of Tax",
        "terseLabel": "Accumulated other comprehensive income"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r73",
      "r76",
      "r83",
      "r84",
      "r85",
      "r139",
      "r140",
      "r141",
      "r548",
      "r725",
      "r726",
      "r765"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
        "label": "Accumulated Other Comprehensive Income [Member]",
        "terseLabel": "Accumulated Other Comprehensive Income (Loss)"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife": {
     "auth_ref": [
      "r277"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average amortization period of finite-lived intangible assets acquired either individually or as part of a group of assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Acquired Finite Lived Intangible Assets Weighted Average Useful Life",
        "terseLabel": "Weighted average useful lives for acquired intangible assets"
       }
      }
     },
     "localname": "AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r41",
      "r462",
      "r658"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10060.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional Paid In Capital",
        "terseLabel": "Additional paid-in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r139",
      "r140",
      "r141",
      "r458",
      "r459",
      "r460",
      "r579"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid In Capital [Member]",
        "terseLabel": "Additional Paid-In Capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "auth_ref": [
      "r0",
      "r1",
      "r2",
      "r3",
      "r4",
      "r145",
      "r146",
      "r147",
      "r149",
      "r159",
      "r244",
      "r245",
      "r253",
      "r254",
      "r255",
      "r256",
      "r259",
      "r260",
      "r307",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r460",
      "r462",
      "r494",
      "r495",
      "r496",
      "r497",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r578",
      "r579",
      "r580",
      "r581",
      "r600",
      "r601",
      "r603",
      "r604",
      "r605",
      "r606",
      "r610",
      "r611",
      "r646",
      "r675",
      "r676",
      "r677",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by amendment to accounting standards.",
        "label": "Adjustments For New Accounting Pronouncements [Axis]",
        "terseLabel": "Accounting Standards Update"
       }
      }
     },
     "localname": "AdjustmentsForNewAccountingPronouncementsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalIncreaseInCarryingAmountOfRedeemablePreferredStock": {
     "auth_ref": [
      "r363",
      "r373",
      "r380"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease (increase) in additional paid in capital (APIC) for the increase in carrying amount of redeemable preferred stock.",
        "label": "Adjustments To Additional Paid In Capital Increase In Carrying Amount Of Redeemable Preferred Stock",
        "negatedLabel": "Accretion of the redeemable series A-1 preferred stock to redeemable value"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalIncreaseInCarryingAmountOfRedeemablePreferredStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "auth_ref": [
      "r416",
      "r418",
      "r465",
      "r466"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
        "label": "Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Value",
        "terseLabel": "Stock-based compensation"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts": {
     "auth_ref": [
      "r373",
      "r380"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease in additional paid in capital (APIC) resulting from direct costs associated with issuing stock. Includes, but is not limited to, legal and accounting fees and direct costs associated with stock issues under a shelf registration.",
        "label": "Adjustments To Additional Paid In Capital Stock Issued Issuance Costs",
        "terseLabel": "Stock issuance costs"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICITParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments To Reconcile Net Income Loss To Cash Provided By Used In Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net loss to net cash provided by operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AirTransportationEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment used for the primary purpose of air transportation.",
        "label": "Air Transportation Equipment [Member]",
        "terseLabel": "Aircraft"
       }
      }
     },
     "localname": "AirTransportationEquipmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r418",
      "r450",
      "r464"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Allocated Share Based Compensation Expense",
        "terseLabel": "Share based compensation expense",
        "verboseLabel": "Stock compensation expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r241",
      "r266"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allowance for credit loss on financing receivable.",
        "label": "Allowance For Credit Losses On Financing Receivables Table [Text Block]",
        "terseLabel": "Schedule of Allowance for Doubtful Accounts"
       }
      }
     },
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivable": {
     "auth_ref": [
      "r242",
      "r261",
      "r262",
      "r265"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAccountsReceivableNetDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_AccountsReceivableNetCurrent",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on accounts receivable.",
        "label": "Allowance For Doubtful Accounts Receivable",
        "negatedLabel": "Allowance for doubtful accounts",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAccountsReceivableNetDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAllowanceForDoubtfulAccountsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs": {
     "auth_ref": [
      "r264"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of direct write-downs of accounts receivable charged against the allowance.",
        "label": "Allowance For Doubtful Accounts Receivable Write Offs",
        "negatedLabel": "Charged to Allowance"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableWriteOffs",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAllowanceForDoubtfulAccountsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "auth_ref": [
      "r91",
      "r116",
      "r346",
      "r623"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10340.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt issuance costs.",
        "label": "Amortization Of Financing Costs",
        "terseLabel": "Amortization of deferred financing costs"
       }
      }
     },
     "localname": "AmortizationOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r116",
      "r275",
      "r281"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Amortization Of Intangible Assets",
        "terseLabel": "Amortization expense"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "auth_ref": [
      "r176"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
        "label": "Antidilutive Securities Excluded From Computation Of Earnings Per Share Amount",
        "terseLabel": "Antidilutive securities excluded from computation of loss per share amount"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareEquitySharesExcludedFromCalculationOfDilutedNetLossPerShareAttributableToCommonStockholdersDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis": {
     "auth_ref": [
      "r176"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of antidilutive security.",
        "label": "Antidilutive Securities Excluded From Computation Of Earnings Per Share By Antidilutive Securities [Axis]",
        "terseLabel": "Antidilutive Securities"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareEquitySharesExcludedFromCalculationOfDilutedNetLossPerShareAttributableToCommonStockholdersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]",
        "terseLabel": "Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareEquitySharesExcludedFromCalculationOfDilutedNetLossPerShareAttributableToCommonStockholdersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AntidilutiveSecuritiesNameDomain": {
     "auth_ref": [
      "r176"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incremental common shares attributable to securities that were not included in diluted earnings per share (EPS) because to do so would increase EPS amounts or decrease loss per share amounts for the period presented.",
        "label": "Antidilutive Securities Name [Domain]",
        "terseLabel": "Antidilutive Securities, Name"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareEquitySharesExcludedFromCalculationOfDilutedNetLossPerShareAttributableToCommonStockholdersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r131",
      "r209",
      "r222",
      "r229",
      "r248",
      "r308",
      "r309",
      "r310",
      "r312",
      "r313",
      "r314",
      "r315",
      "r317",
      "r319",
      "r321",
      "r322",
      "r544",
      "r549",
      "r599",
      "r656",
      "r658",
      "r685",
      "r704"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "TOTAL ASSETS"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r20",
      "r22",
      "r70",
      "r131",
      "r248",
      "r308",
      "r309",
      "r310",
      "r312",
      "r313",
      "r314",
      "r315",
      "r317",
      "r319",
      "r321",
      "r322",
      "r544",
      "r549",
      "r599",
      "r656",
      "r658"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10240.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets Current",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets Current [Abstract]",
        "terseLabel": "CURRENT ASSETS:"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets Noncurrent [Abstract]",
        "terseLabel": "NON-CURRENT ASSETS:"
       }
      }
     },
     "localname": "AssetsNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r419",
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfRestrictedStockActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfPerformanceHurdlesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BaseRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum rate investor will accept.",
        "label": "Base Rate [Member]",
        "terseLabel": "Base Rate Plus"
       }
      }
     },
     "localname": "BaseRateMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis Of Accounting Policy Policy [Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BuildingMember": {
     "auth_ref": [
      "r288"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Facility held for productive use including, but not limited to, office, production, storage and distribution facilities.",
        "label": "Building [Member]",
        "terseLabel": "Building"
       }
      }
     },
     "localname": "BuildingMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r411",
      "r414"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition Acquiree [Domain]",
        "terseLabel": "Business Acquisition, Acquiree"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfSupplementalUnauditedProFormaInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsTables",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsScheduleOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r411",
      "r414",
      "r519",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]",
        "terseLabel": "Business Acquisition"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfSupplementalUnauditedProFormaInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsTables",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsScheduleOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of direct costs of the business combination including legal, accounting, and other costs incurred to consummate the business acquisition.",
        "label": "Business Acquisition Cost Of Acquired Entity Transaction Costs",
        "terseLabel": "Transaction costs related to business combinations"
       }
      }
     },
     "localname": "BusinessAcquisitionCostOfAcquiredEntityTransactionCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Business Acquisition [Line Items]",
        "terseLabel": "Business Acquisition [Line Items]"
       }
      }
     },
     "localname": "BusinessAcquisitionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsTables",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired": {
     "auth_ref": [
      "r515"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of voting equity interests acquired at the acquisition date in the business combination.",
        "label": "Business Acquisition Percentage Of Voting Interests Acquired",
        "terseLabel": "Percentage of interests acquired"
       }
      }
     },
     "localname": "BusinessAcquisitionPercentageOfVotingInterestsAcquired",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_BusinessAcquisitionProFormaInformationTextBlock": {
     "auth_ref": [
      "r517",
      "r518"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of pro forma results of operations for a material business acquisition or series of individually immaterial business acquisitions that are material in the aggregate.",
        "label": "Business Acquisition Pro Forma Information [Text Block]",
        "terseLabel": "Summary of Supplemental Unaudited Pro-Forma Information"
       }
      }
     },
     "localname": "BusinessAcquisitionProFormaInformationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss": {
     "auth_ref": [
      "r517",
      "r518"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a period.",
        "label": "Business Acquisitions Pro Forma Net Income Loss",
        "terseLabel": "Net (loss) income"
       }
      }
     },
     "localname": "BusinessAcquisitionsProFormaNetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfSupplementalUnauditedProFormaInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionsProFormaRevenue": {
     "auth_ref": [
      "r517",
      "r518"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period.",
        "label": "Business Acquisitions Pro Forma Revenue",
        "terseLabel": "Revenues"
       }
      }
     },
     "localname": "BusinessAcquisitionsProFormaRevenue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfSupplementalUnauditedProFormaInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationAcquisitionRelatedCosts": {
     "auth_ref": [
      "r514"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10070.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period. Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities.",
        "label": "Business Combination Acquisition Related Costs",
        "negatedLabel": "Acquisition costs"
       }
      }
     },
     "localname": "BusinessCombinationAcquisitionRelatedCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferred1": {
     "auth_ref": [
      "r533",
      "r534",
      "r536"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer.",
        "label": "Business Combination Consideration Transferred1",
        "terseLabel": "Total Purchase Price",
        "totalLabel": "Total Purchase Price"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferred1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsScheduleOfElementsOfPurchasePriceOfAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable": {
     "auth_ref": [
      "r533",
      "r534"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination.",
        "label": "Business Combination Consideration Transferred Equity Interests Issued And Issuable",
        "terseLabel": "Common Stock"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred": {
     "auth_ref": [
      "r530",
      "r533",
      "r534",
      "r538"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails": {
       "order": 10070.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities incurred by the acquirer as part of consideration transferred in a business combination.",
        "label": "Business Combination Consideration Transferred Liabilities Incurred",
        "terseLabel": "Contingent Consideration"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredLiabilitiesIncurred",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationArrangementsBasisForAmount": {
     "auth_ref": [
      "r530",
      "r531",
      "r532",
      "r539"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For contingent consideration arrangements recognized in connection with a business combination, this element represents a description of the basis for determining the amount of the payment recorded.",
        "label": "Business Combination Contingent Consideration Arrangements Basis For Amount",
        "terseLabel": "Business combination, contingent consideration arrangements, basis for amount"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationArrangementsBasisForAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1": {
     "auth_ref": [
      "r115",
      "r541"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10320.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10160.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in the value of a contingent consideration liability, including, but not limited to, differences arising upon settlement.",
        "label": "Business Combination Contingent Consideration Arrangements Change In Amount Of Contingent Consideration Liability1",
        "terseLabel": "FAIR VALUE CHANGES IN BUSINESS ACQUISITIONS CONTINGENT CONSIDERATION",
        "verboseLabel": "Fair value changes in business acquisitions contingent consideration"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationArrangementsDescription": {
     "auth_ref": [
      "r539"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For contingent consideration arrangements recognized in connection with a business combination, this element represents a description of such arrangements.",
        "label": "Business Combination Contingent Consideration Arrangements Description",
        "terseLabel": "Business combination, contingent consideration arrangements, description"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationArrangementsDescription",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh": {
     "auth_ref": [
      "r540"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For contingent consideration arrangements recognized in connection with a business combination, this element represents an estimate of the high-end of the potential range (undiscounted) of the consideration which may be paid.",
        "label": "Business Combination Contingent Consideration Arrangements Range Of Outcomes Value High",
        "terseLabel": "Business combination, earn-out payment, maximum"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent": {
     "auth_ref": [
      "r531",
      "r535"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10190.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability recognized arising from contingent consideration in a business combination, expected to be settled within one year or the normal operating cycle, if longer.",
        "label": "Business Combination Contingent Consideration Liability Current",
        "terseLabel": "Business acquisitions contingent consideration, current"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent": {
     "auth_ref": [
      "r531",
      "r535"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10100.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability recognized arising from contingent consideration in a business combination, expected to be settled beyond one year or the normal operating cycle, if longer.",
        "label": "Business Combination Contingent Consideration Liability Noncurrent",
        "terseLabel": "Business acquisitions contingent consideration, long-term"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationDisclosureTextBlock": {
     "auth_ref": [
      "r542"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for a business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities. The disclosure may include leverage buyout transactions (as applicable).",
        "label": "Business Combination Disclosure [Text Block]",
        "terseLabel": "Business Acquisitions"
       }
      }
     },
     "localname": "BusinessCombinationDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual": {
     "auth_ref": [
      "r516"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the amount of earnings or loss of the acquiree since the acquisition date included in the consolidated income statement for the reporting period.",
        "label": "Business Combination Pro Forma Information Earnings Or Loss Of Acquiree Since Acquisition Date Actual",
        "terseLabel": "Pre-tax income (loss)"
       }
      }
     },
     "localname": "BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual": {
     "auth_ref": [
      "r516"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the amount of revenue of the acquiree since the acquisition date included in the consolidated income statement for the reporting period.",
        "label": "Business Combination Pro Forma Information Revenue Of Acquiree Since Acquisition Date Actual",
        "terseLabel": "Revenue"
       }
      }
     },
     "localname": "BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets": {
     "auth_ref": [
      "r522"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets acquired at the acquisition date.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents": {
     "auth_ref": [
      "r522"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10150.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Cash And Equivalents",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets": {
     "auth_ref": [
      "r522"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10060.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer, acquired at the acquisition date.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Assets",
        "totalLabel": "Current assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther": {
     "auth_ref": [
      "r522"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10180.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of other assets expected to be realized or consumed before one year or the normal operating cycle, if longer, acquired at the acquisition date.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Assets Other",
        "terseLabel": "Other current assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities": {
     "auth_ref": [
      "r522"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities due within one year or within the normal operating cycle, if longer, assumed at the acquisition date.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Liabilities",
        "terseLabel": "Current liabilities"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles": {
     "auth_ref": [
      "r521",
      "r522"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10090.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of identifiable intangible assets recognized as of the acquisition date.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Intangibles",
        "terseLabel": "Intangible assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities": {
     "auth_ref": [
      "r522"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities assumed at the acquisition date.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities": {
     "auth_ref": [
      "r522"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10040.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities due after one year or the normal operating cycle, if longer, assumed at the acquisition date.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Noncurrent Liabilities",
        "terseLabel": "Non- current liabilities"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment": {
     "auth_ref": [
      "r521",
      "r522"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": 10070.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of property, plant, and equipment recognized as of the acquisition date.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Property Plant And Equipment",
        "terseLabel": "Property and equipment"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet": {
     "auth_ref": [
      "r522"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount recognized for assets, including goodwill, in excess of (less than) the aggregate liabilities assumed.",
        "label": "Business Combination Recognized Identifiable Assets Acquired Goodwill And Liabilities Assumed Net",
        "totalLabel": "Purchase price"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combinations [Abstract]"
       }
      }
     },
     "localname": "BusinessCombinationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationsPolicy": {
     "auth_ref": [
      "r513"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for completed business combinations (purchase method, acquisition method or combination of entities under common control). This accounting policy may include a general discussion of the purchase method or acquisition method of accounting (including for example, the treatment accorded contingent consideration, the identification of assets and liabilities, the purchase price allocation process, how the fair values of acquired assets and liabilities are determined) and the entity's specific application thereof. An entity that acquires another entity in a leveraged buyout transaction generally discloses the accounting policy followed by the acquiring entity in determining the basis used to value its interest in the acquired entity, and the rationale for that accounting policy.",
        "label": "Business Combinations Policy",
        "terseLabel": "Acquisitions"
       }
      }
     },
     "localname": "BusinessCombinationsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock": {
     "auth_ref": [
      "r15",
      "r138",
      "r195"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the business description and basis of presentation concepts.  Business description describes the nature and type of organization including but not limited to organizational structure as may be applicable to holding companies, parent and subsidiary relationships, business divisions, business units, business segments, affiliates and information about significant ownership of the reporting entity.  Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Business Description And Basis Of Presentation [Text Block]",
        "terseLabel": "Description of the Business and Basis of Presentation"
       }
      }
     },
     "localname": "BusinessDescriptionAndBasisOfPresentationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CapitalExpendituresIncurredButNotYetPaid": {
     "auth_ref": [
      "r121",
      "r122",
      "r123"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Future cash outflow to pay for purchases of fixed assets that have occurred.",
        "label": "Capital Expenditures Incurred But Not Yet Paid",
        "terseLabel": "Accrued purchases of property and equipment"
       }
      }
     },
     "localname": "CapitalExpendituresIncurredButNotYetPaid",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r16",
      "r49",
      "r118"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10310.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash And Cash Equivalents At Carrying Value",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r28",
      "r119"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash And Cash Equivalents Policy [Text Block]",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy": {
     "auth_ref": [
      "r28",
      "r119",
      "r683"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity's cash and cash equivalents accounting policy with respect to restricted balances.  Restrictions may include legally restricted deposits held as compensating balances against short-term borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits.",
        "label": "Cash And Cash Equivalents Restricted Cash And Cash Equivalents Policy",
        "terseLabel": "Restricted Cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations": {
     "auth_ref": [
      "r112",
      "r118",
      "r124"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including, but not limited to, disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Including Disposal Group And Discontinued Operations",
        "periodEndLabel": "End of year",
        "periodStartLabel": "Beginning of year"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "auth_ref": [
      "r112",
      "r612"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Period Increase Decrease Excluding Exchange Rate Effect",
        "totalLabel": "CHANGE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flow Noncash Investing And Financing Activities Disclosure [Abstract]",
        "terseLabel": "SUPPLEMENTAL DISCLOSURES OF NON-CASH INVESTING AND FINANCING ACTIVITIES:"
       }
      }
     },
     "localname": "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted": {
     "auth_ref": [
      "r0",
      "r1",
      "r139",
      "r140",
      "r143",
      "r244",
      "r245",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r307",
      "r454",
      "r455",
      "r456",
      "r494",
      "r565",
      "r570",
      "r571",
      "r600",
      "r602",
      "r603",
      "r604",
      "r610",
      "r611",
      "r627",
      "r646",
      "r675",
      "r676",
      "r723",
      "r724",
      "r761"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether accounting standards update was adopted.",
        "label": "Change In Accounting Principle Accounting Standards Update Adopted",
        "terseLabel": "Change in accounting principle, accounting standards update, adopted"
       }
      }
     },
     "localname": "ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate": {
     "auth_ref": [
      "r0",
      "r1",
      "r139",
      "r140",
      "r153",
      "r244",
      "r245",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r307",
      "r454",
      "r455",
      "r456",
      "r494",
      "r565",
      "r570",
      "r571",
      "r572",
      "r575",
      "r600",
      "r602",
      "r603",
      "r604",
      "r610",
      "r611",
      "r627",
      "r646",
      "r675",
      "r676",
      "r723",
      "r724",
      "r761"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date accounting standards update was adopted, in YYYY-MM-DD format.",
        "label": "Change In Accounting Principle Accounting Standards Update Adoption Date",
        "terseLabel": "Change in accounting principle, accounting standards update, adoption date"
       }
      }
     },
     "localname": "ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect": {
     "auth_ref": [
      "r145",
      "r158",
      "r246",
      "r257",
      "r462",
      "r500"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether effect from applying amendment to accounting standards is immaterial.",
        "label": "Change In Accounting Principle Accounting Standards Update Immaterial Effect",
        "terseLabel": "Change in accounting principle, accounting standards update, immaterial effect"
       }
      }
     },
     "localname": "ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1": {
     "auth_ref": [
      "r566"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10080.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) from the increase (decrease) in fair value of derivative and nonderivative instruments designated as fair value hedging instruments recognized in the income statement.",
        "label": "Change In Unrealized Gain Loss On Fair Value Hedging Instruments1",
        "terseLabel": "Fair value changes in financial instruments"
       }
      }
     },
     "localname": "ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r129",
      "r131",
      "r164",
      "r165",
      "r170",
      "r173",
      "r175",
      "r182",
      "r183",
      "r184",
      "r248",
      "r308",
      "r313",
      "r314",
      "r315",
      "r321",
      "r322",
      "r366",
      "r367",
      "r370",
      "r371",
      "r599",
      "r758"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class Of Stock [Domain]",
        "terseLabel": "Class of Stock"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Class Of Stock [Line Items]",
        "terseLabel": "Class Of Stock [Line Items]"
       }
      }
     },
     "localname": "ClassOfStockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfWarrantOrRighstDateFromWhichWarrantsOrRightsExercisable": {
     "auth_ref": [
      "r374"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the warrants or rights are exercisable, in YYYY-MM-DD format.",
        "label": "Class Of Warrant Or Righst Date From Which Warrants Or Rights Exercisable",
        "terseLabel": "Warrants exercised in full for cash, date"
       }
      }
     },
     "localname": "ClassOfWarrantOrRighstDateFromWhichWarrantsOrRightsExercisable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1": {
     "auth_ref": [
      "r374"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise price per share or per unit of warrants or rights outstanding.",
        "label": "Class Of Warrant Or Right Exercise Price Of Warrants Or Rights1",
        "terseLabel": "Warrant exercise price per share"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ClassOfWarrantOrRightLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Class Of Warrant Or Right [Line Items]",
        "terseLabel": "Class Of Warrant Or Right [Line Items]"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights": {
     "auth_ref": [
      "r374"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares.",
        "label": "Class Of Warrant Or Right Number Of Securities Called By Warrants Or Rights",
        "terseLabel": "Warrants to purchase common stock"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ClassOfWarrantOrRightTable": {
     "auth_ref": [
      "r382",
      "r417"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure for warrants or rights issued, which includes the title of issue of securities called for by warrants and rights outstanding, the aggregate amount of securities called for by warrants and rights outstanding, the date from which the warrants or rights are exercisable, and the price at which the warrant or right is exercisable.",
        "label": "Class Of Warrant Or Right [Table]",
        "terseLabel": "Class Of Warrant Or Right [Table]"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r63",
      "r301",
      "r692",
      "r711"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10020.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments And Contingencies",
        "terseLabel": "COMMITMENTS AND CONTINGENCIES"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments And Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r298",
      "r299",
      "r300",
      "r303",
      "r743"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments And Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommitmentsAndContingenciesPolicyTextBlock": {
     "auth_ref": [
      "r304",
      "r744"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for commitments and contingencies, which may include policies for recognizing and measuring loss and gain contingencies.",
        "label": "Commitments And Contingencies Policy [Text Block]",
        "terseLabel": "Business Acquisitions Contingent Consideration"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonStockCapitalSharesReservedForFutureIssuance": {
     "auth_ref": [
      "r65"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate number of common shares reserved for future issuance.",
        "label": "Common Stock Capital Shares Reserved For Future Issuance",
        "positiveLabel": "Total shares reserved and authorized",
        "terseLabel": "Shares reserved for future issuance"
       }
      }
     },
     "localname": "CommonStockCapitalSharesReservedForFutureIssuance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockDividendsShares": {
     "auth_ref": [
      "r373"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock issued as dividends during the period. Excludes stock splits.",
        "label": "Common Stock Dividends Shares",
        "terseLabel": "Number of shares issued as dividend payment"
       }
      }
     },
     "localname": "CommonStockDividendsShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r139",
      "r140",
      "r579"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r39"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock Par Or Stated Value Per Share",
        "terseLabel": "Common stock, par value"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r39"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock Shares Authorized",
        "terseLabel": "Common stock, shares authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r39"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock Shares Issued",
        "terseLabel": "Common stock, shares issued"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r39",
      "r373"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock Shares Outstanding",
        "terseLabel": "Common stock, shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r39",
      "r658"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10050.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock Value",
        "terseLabel": "Common stock, $0.000004 par value; authorized shares: 190,000,000 at December 31, 2021 and 2020; issued and outstanding shares: 29,619,921 and 24,932,527 at December 31, 2021 and 2020, respectively"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CompensationAndRetirementDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation And Retirement Disclosure [Abstract]"
       }
      }
     },
     "localname": "CompensationAndRetirementDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CompensationRelatedCostsPolicyTextBlock": {
     "auth_ref": [
      "r424"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for salaries, bonuses, incentive awards, postretirement and postemployment benefits granted to employees, including equity-based arrangements; discloses methodologies for measurement, and the bases for recognizing related assets and liabilities and recognizing and reporting compensation expense.",
        "label": "Compensation Related Costs Policy [Text Block]",
        "terseLabel": "Stock-Based Compensation"
       }
      }
     },
     "localname": "CompensationRelatedCostsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ComponentsOfDeferredTaxAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components Of Deferred Tax Assets [Abstract]",
        "terseLabel": "Deferred tax assets:"
       }
      }
     },
     "localname": "ComponentsOfDeferredTaxAssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components Of Deferred Tax Liabilities [Abstract]",
        "terseLabel": "Deferred tax liabilities:"
       }
      }
     },
     "localname": "ComponentsOfDeferredTaxLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r78",
      "r80",
      "r81",
      "r89",
      "r695",
      "r716"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income Net Of Tax",
        "totalLabel": "COMPREHENSIVE LOSS"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComputerSoftwareIntangibleAssetMember": {
     "auth_ref": [
      "r276",
      "r279",
      "r528"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collection of computer programs and related data that provide instructions to a computer, for example, but not limited to, application program, control module or operating system, that perform one or more particular functions or tasks.",
        "label": "Computer Software Intangible Asset [Member]",
        "terseLabel": "Proprietary Software"
       }
      }
     },
     "localname": "ComputerSoftwareIntangibleAssetMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r190",
      "r191",
      "r236",
      "r597",
      "r598",
      "r742"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]",
        "terseLabel": "Concentration Risk Benchmark"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r190",
      "r191",
      "r236",
      "r597",
      "r598",
      "r735",
      "r742"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk By Benchmark [Axis]",
        "terseLabel": "Concentration Risk Benchmark"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "auth_ref": [
      "r190",
      "r191",
      "r236",
      "r597",
      "r598",
      "r735",
      "r742"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
        "label": "Concentration Risk By Type [Axis]",
        "terseLabel": "Concentration Risk Type"
       }
      }
     },
     "localname": "ConcentrationRiskByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "auth_ref": [
      "r190",
      "r191",
      "r236",
      "r597",
      "r598"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
        "label": "Concentration Risk Percentage1",
        "terseLabel": "Concentration risk percentage"
       }
      }
     },
     "localname": "ConcentrationRiskPercentage1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "auth_ref": [
      "r190",
      "r191",
      "r236",
      "r597",
      "r598",
      "r742"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
        "label": "Concentration Risk Type [Domain]",
        "terseLabel": "Concentration Risk Type"
       }
      }
     },
     "localname": "ConcentrationRiskTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConstructionInProgressMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service.",
        "label": "Construction In Progress [Member]",
        "terseLabel": "Construction in Progress"
       }
      }
     },
     "localname": "ConstructionInProgressMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ContingentConsiderationByTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of contingent consideration.",
        "label": "Contingent Consideration By Type [Axis]",
        "terseLabel": "Contingent Consideration by Type"
       }
      }
     },
     "localname": "ContingentConsiderationByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ContingentConsiderationTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of contingent payment arrangement.",
        "label": "Contingent Consideration Type [Domain]",
        "terseLabel": "Contingent Consideration Type"
       }
      }
     },
     "localname": "ContingentConsiderationTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock": {
     "auth_ref": [
      "r386"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of receivable, contract asset, and contract liability from contract with customer. Includes, but is not limited to, change in contract asset and contract liability.",
        "label": "Contract With Customer Asset And Liability Table [Text Block]",
        "terseLabel": "Schedule of Contract Balances"
       }
      }
     },
     "localname": "ContractWithCustomerAssetAndLiabilityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ContractWithCustomerLiabilityCurrent": {
     "auth_ref": [
      "r384",
      "r385",
      "r391"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesSummaryOfAccountsPayableAndOtherAccruedLiabilitiesDetails": {
       "order": 10040.0,
       "parentTag": "us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current.",
        "label": "Contract With Customer Liability Current",
        "terseLabel": "Contract liabilities"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesSummaryOfAccountsPayableAndOtherAccruedLiabilitiesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfContractBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerLiabilityRevenueRecognized": {
     "auth_ref": [
      "r392"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized that was previously included in balance of obligation to transfer good or service to customer for which consideration from customer has been received or is due.",
        "label": "Contract With Customer Liability Revenue Recognized",
        "terseLabel": "Contract with customer liabilities, revenue recognized"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityRevenueRecognized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConversionOfStockSharesIssued1": {
     "auth_ref": [
      "r121",
      "r122",
      "r123"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of new shares issued in the conversion of stock in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Conversion Of Stock Shares Issued1",
        "verboseLabel": "Increase of shares"
       }
      }
     },
     "localname": "ConversionOfStockSharesIssued1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CorporateAndOtherMember": {
     "auth_ref": [
      "r196"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Component of an entity that provides financial and operational oversight and administrative support for other segments and other segments not separately reported due to size or nature of business activities. Excludes intersegment elimination and reconciling items.",
        "label": "Corporate And Other [Member]",
        "terseLabel": "Corporate and Other"
       }
      }
     },
     "localname": "CorporateAndOtherMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostOfRevenue": {
     "auth_ref": [
      "r92",
      "r131",
      "r248",
      "r308",
      "r309",
      "r310",
      "r313",
      "r314",
      "r315",
      "r317",
      "r319",
      "r321",
      "r322",
      "r599"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10140.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate cost of goods produced and sold and services rendered during the reporting period.",
        "label": "Cost Of Revenue",
        "terseLabel": "COST OF REVENUES (exclusive of depreciation and amortization shown below)"
       }
      }
     },
     "localname": "CostOfRevenue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing cost of sales.",
        "label": "Cost Of Sales [Member]",
        "terseLabel": "Cost of Revenue"
       }
      }
     },
     "localname": "CostOfSalesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostOfSalesPolicyTextBlock": {
     "auth_ref": [
      "r399"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cost of product sold and service rendered.",
        "label": "Cost Of Sales Policy [Text Block]",
        "terseLabel": "Cost of Revenues"
       }
      }
     },
     "localname": "CostOfSalesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CostsAndExpensesRelatedParty": {
     "auth_ref": [
      "r92"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Costs of sales and operating expenses for the period incurred from transactions with related parties.",
        "label": "Costs And Expenses Related Party",
        "verboseLabel": "Payment to related party"
       }
      }
     },
     "localname": "CostsAndExpensesRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CreditFacilityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Axis]",
        "terseLabel": "Credit Facility"
       }
      }
     },
     "localname": "CreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditFacilityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Domain]",
        "terseLabel": "Credit Facility"
       }
      }
     },
     "localname": "CreditFacilityDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current state, local, and federal tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Current Federal State And Local Tax Expense Benefit",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "CurrentFederalStateAndLocalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Federal State And Local Tax Expense Benefit [Abstract]",
        "terseLabel": "Current:"
       }
      }
     },
     "localname": "CurrentFederalStateAndLocalTaxExpenseBenefitAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CurrentFederalTaxExpenseBenefit": {
     "auth_ref": [
      "r132",
      "r491",
      "r503"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails": {
       "order": 10060.0,
       "parentTag": "us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current federal tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Current Federal Tax Expense Benefit",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "CurrentFederalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CurrentForeignTaxExpenseBenefit": {
     "auth_ref": [
      "r132",
      "r491"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails": {
       "order": 10080.0,
       "parentTag": "us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current foreign income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Current Foreign Tax Expense Benefit",
        "terseLabel": "Foreign"
       }
      }
     },
     "localname": "CurrentForeignTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CurrentStateAndLocalTaxExpenseBenefit": {
     "auth_ref": [
      "r132",
      "r491",
      "r503"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails": {
       "order": 10070.0,
       "parentTag": "us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current state and local tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Current State And Local Tax Expense Benefit",
        "terseLabel": "State"
       }
      }
     },
     "localname": "CurrentStateAndLocalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CustomerConcentrationRiskMember": {
     "auth_ref": [
      "r189",
      "r236"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the percentage that revenues in the period from one or more significant customers is to net revenues, as defined by the entity, such as total net revenues, product line revenues, segment revenues. The risk is the materially adverse effects of loss of a significant customer.",
        "label": "Customer Concentration Risk [Member]",
        "terseLabel": "Customer Concentration Risk"
       }
      }
     },
     "localname": "CustomerConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CustomerRelationshipsMember": {
     "auth_ref": [
      "r527"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer relationship that exists between an entity and its customer, for example, but not limited to, tenant relationships.",
        "label": "Customer Relationships [Member]",
        "terseLabel": "Customer Relationships"
       }
      }
     },
     "localname": "CustomerRelationshipsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtConversionByUniqueDescriptionAxis": {
     "auth_ref": [
      "r121",
      "r123"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by description of debt issuances converted in a noncash or part noncash transaction.",
        "label": "Debt Conversion By Unique Description [Axis]",
        "terseLabel": "Debt Conversion Description"
       }
      }
     },
     "localname": "DebtConversionByUniqueDescriptionAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtConversionNameDomain": {
     "auth_ref": [
      "r121",
      "r123"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name of the original debt issue that has been converted in a noncash (or part noncash) transaction during the accounting period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Debt Conversion Name [Domain]",
        "terseLabel": "Debt Conversion, Name"
       }
      }
     },
     "localname": "DebtConversionNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r128",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r335",
      "r340",
      "r347",
      "r348",
      "r349",
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Debt"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebt"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r31",
      "r32",
      "r33",
      "r130",
      "r137",
      "r323",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r330",
      "r336",
      "r337",
      "r338",
      "r339",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r352",
      "r353",
      "r354",
      "r355",
      "r624",
      "r686",
      "r688",
      "r703"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
        "label": "Debt Instrument Basis Spread On Variable Rate1",
        "terseLabel": "Interest rate"
       }
      }
     },
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentFrequencyOfPeriodicPayment": {
     "auth_ref": [
      "r61",
      "r700"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the frequency of periodic payments (monthly, quarterly, annual).",
        "label": "Debt Instrument Frequency Of Periodic Payment",
        "terseLabel": "Debt instrument, repayments term"
       }
      }
     },
     "localname": "DebtInstrumentFrequencyOfPeriodicPayment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r61",
      "r130",
      "r137",
      "r323",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r330",
      "r336",
      "r337",
      "r338",
      "r339",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r352",
      "r353",
      "r354",
      "r355",
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument Name [Domain]",
        "terseLabel": "Debt Instrument, Name"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentPeriodicPayment": {
     "auth_ref": [
      "r61",
      "r700"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the required periodic payments including both interest and principal payments.",
        "label": "Debt Instrument Periodic Payment",
        "terseLabel": "Installment repayment amount"
       }
      }
     },
     "localname": "DebtInstrumentPeriodicPayment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentPeriodicPaymentPrincipal": {
     "auth_ref": [
      "r61"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the required periodic payments applied to principal.",
        "label": "Debt Instrument Periodic Payment Principal",
        "terseLabel": "Debt instrument, repayments"
       }
      }
     },
     "localname": "DebtInstrumentPeriodicPaymentPrincipal",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet": {
     "auth_ref": [
      "r336",
      "r350",
      "r352",
      "r353",
      "r623"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails": {
       "order": 10050.0,
       "parentTag": "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unamortized debt discount (premium) and debt issuance costs.",
        "label": "Debt Instrument Unamortized Discount Premium And Debt Issuance Costs Net",
        "negatedLabel": "Less deferred debt issuance costs"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of debt outstanding.",
        "label": "Debt Weighted Average Interest Rate",
        "terseLabel": "Weighted average interest rate"
       }
      }
     },
     "localname": "DebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Costs Capitalized Prepaid And Other Assets Disclosure [Abstract]"
       }
      }
     },
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredFederalIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r132",
      "r492",
      "r503"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred federal income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Federal Income Tax Expense Benefit",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "DeferredFederalIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred state, local, and federal tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Federal State And Local Tax Expense Benefit",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "DeferredFederalStateAndLocalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Federal State And Local Tax Expense Benefit [Abstract]",
        "terseLabel": "Deferred:"
       }
      }
     },
     "localname": "DeferredFederalStateAndLocalTaxExpenseBenefitAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "auth_ref": [
      "r52",
      "r336",
      "r623"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
        "label": "Deferred Finance Costs Net",
        "terseLabel": "Debt fee paid",
        "verboseLabel": "Debt issuance costs, net"
       }
      }
     },
     "localname": "DeferredFinanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredForeignIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r132",
      "r492",
      "r503"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails": {
       "order": 10050.0,
       "parentTag": "us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred foreign income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Foreign Income Tax Expense Benefit",
        "terseLabel": "Foreign"
       }
      }
     },
     "localname": "DeferredForeignIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r116",
      "r132",
      "r492",
      "r503",
      "r504",
      "r505"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10330.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense Benefit",
        "terseLabel": "Deferred income taxes"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilities": {
     "auth_ref": [
      "r34",
      "r35",
      "r482",
      "r687",
      "r702"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_DeferredTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences.",
        "label": "Deferred Income Tax Liabilities",
        "negatedTotalLabel": "Total deferred tax liability"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilitiesNet": {
     "auth_ref": [
      "r472",
      "r473"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10120.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting.",
        "label": "Deferred Income Tax Liabilities Net",
        "terseLabel": "Deferred tax liabilities\u2014net"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r132",
      "r492",
      "r503"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails": {
       "order": 10040.0,
       "parentTag": "us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred state and local tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred State And Local Income Tax Expense Benefit",
        "terseLabel": "State"
       }
      }
     },
     "localname": "DeferredStateAndLocalIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "auth_ref": [
      "r483"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_DeferredTaxLiabilities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets Gross",
        "totalLabel": "Total deferred tax asset"
       }
      }
     },
     "localname": "DeferredTaxAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOperatingLossCarryforwards": {
     "auth_ref": [
      "r489",
      "r490"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 10080.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards.",
        "label": "Deferred Tax Assets Operating Loss Carryforwards",
        "terseLabel": "Net operating losses"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOther": {
     "auth_ref": [
      "r489",
      "r490"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 10130.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other.",
        "label": "Deferred Tax Assets Other",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "DeferredTaxAssetsOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits": {
     "auth_ref": [
      "r489",
      "r490"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 10100.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from compensation and benefits costs.",
        "label": "Deferred Tax Assets Tax Deferred Expense Compensation And Benefits",
        "terseLabel": "Employee related"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts": {
     "auth_ref": [
      "r489",
      "r490"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 10090.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary difference from allowance for credit loss on accounts receivable.",
        "label": "Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Allowance For Doubtful Accounts",
        "terseLabel": "Allowance for bad debts"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsContingencies": {
     "auth_ref": [
      "r489",
      "r490"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 10110.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from contingent liabilities.",
        "label": "Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Contingencies",
        "terseLabel": "Contingent consideration"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsContingencies",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r484"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_DeferredTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Deferred Tax Assets Valuation Allowance",
        "negatedLabel": "Valuation allowance"
       }
      }
     },
     "localname": "DeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilities": {
     "auth_ref": [
      "r473",
      "r485"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting.",
        "label": "Deferred Tax Liabilities",
        "negatedTotalLabel": "Net deferred tax liability"
       }
      }
     },
     "localname": "DeferredTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets": {
     "auth_ref": [
      "r489",
      "r490"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 10040.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from intangible assets other than goodwill.",
        "label": "Deferred Tax Liabilities Goodwill And Intangible Assets Intangible Assets",
        "negatedLabel": "Intangible assets"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesLeasingArrangements": {
     "auth_ref": [
      "r489",
      "r490"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 10060.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from leasing arrangements.",
        "label": "Deferred Tax Liabilities Leasing Arrangements",
        "negatedLabel": "Lease liabilities"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesLeasingArrangements",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesOther": {
     "auth_ref": [
      "r489",
      "r490"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 10070.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences classified as other.",
        "label": "Deferred Tax Liabilities Other",
        "negatedLabel": "Other"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment": {
     "auth_ref": [
      "r489",
      "r490"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 10050.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment.",
        "label": "Deferred Tax Liabilities Property Plant And Equipment",
        "negatedLabel": "Property and equipment"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Defined Contribution Plan Disclosure [Line Items]",
        "terseLabel": "Defined Contribution Plan Disclosure [Line Items]"
       }
      }
     },
     "localname": "DefinedContributionPlanDisclosureLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of discretionary contributions made by an employer to a defined contribution plan.",
        "label": "Defined Contribution Plan Employer Discretionary Contribution Amount",
        "terseLabel": "Defined contribution plan, employer discretionary contribution amount"
       }
      }
     },
     "localname": "DefinedContributionPlanEmployerDiscretionaryContributionAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage employer matches of the employee's percentage contribution matched.",
        "label": "Defined Contribution Plan Employer Matching Contribution Percent Of Match",
        "terseLabel": "Defined contribution plan, employer matching contribution, percent of match"
       }
      }
     },
     "localname": "DefinedContributionPlanEmployerMatchingContributionPercentOfMatch",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum percentage of employee gross pay the employee may contribute to a defined contribution plan.",
        "label": "Defined Contribution Plan Maximum Annual Contributions Per Employee Percent",
        "terseLabel": "Defined contribution plan, maximum annual contributions per employee, percent"
       }
      }
     },
     "localname": "DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedContributionPlanTable": {
     "auth_ref": [
      "r409"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about defined contribution pension plans or defined contribution other postretirement plans, separately for pension plans and other postretirement benefit plans.",
        "label": "Defined Contribution Plan [Table]",
        "terseLabel": "Defined Contribution Plan [Table]"
       }
      }
     },
     "localname": "DefinedContributionPlanTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedContributionPlanTextBlock": {
     "auth_ref": [
      "r409",
      "r410"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for defined contribution plan.",
        "label": "Defined Contribution Plan [Text Block]",
        "terseLabel": "Defined Contribution Plan"
       }
      }
     },
     "localname": "DefinedContributionPlanTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlan"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DepositsAssetsCurrent": {
     "auth_ref": [
      "r52"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePrepaidAndOtherCurrentAssetsScheduleOfPrepaidAndOtherCurrentAssetsDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value of amounts transferred to third parties for security purposes that are expected to be returned or applied towards payment within one year or during the operating cycle, if shorter.",
        "label": "Deposits Assets Current",
        "terseLabel": "Deposits"
       }
      }
     },
     "localname": "DepositsAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePrepaidAndOtherCurrentAssetsScheduleOfPrepaidAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Depreciation": {
     "auth_ref": [
      "r116",
      "r287"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation.",
        "label": "Depreciation",
        "terseLabel": "Depreciation expense for property and equipment, net"
       }
      }
     },
     "localname": "Depreciation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationAndAmortization": {
     "auth_ref": [
      "r116",
      "r287"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10040.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10280.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10170.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The current period expense charged against earnings on long-lived, physical assets not used in production, and which are not intended for resale, to allocate or recognize the cost of such assets over their useful lives; or to record the reduction in book value of an intangible asset over the benefit period of such asset; or to reflect consumption during the period of an asset that is not used in production.",
        "label": "Depreciation And Amortization",
        "negatedLabel": "Depreciation and amortization",
        "terseLabel": "DEPRECIATION AND AMORTIZATION"
       }
      }
     },
     "localname": "DepreciationAndAmortization",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract Type [Domain]",
        "terseLabel": "Derivative Contract"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r71",
      "r555",
      "r557",
      "r558",
      "r560"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument Risk [Axis]",
        "terseLabel": "Derivative Instrument"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesEmbeddedDerivatives": {
     "auth_ref": [
      "r553",
      "r554",
      "r561",
      "r562"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for embedded derivatives, including how such derivatives are identified and analyzed for possible separation from their host contracts.",
        "label": "Derivatives Embedded Derivatives",
        "terseLabel": "Embedded Derivatives"
       }
      }
     },
     "localname": "DerivativesEmbeddedDerivatives",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DescriptionOfDefinedContributionPensionAndOtherPostretirementPlans": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of defined contribution pension and other postretirement plans.",
        "label": "Description Of Defined Contribution Pension And Other Postretirement Plans",
        "terseLabel": "Defined contribution plan, description"
       }
      }
     },
     "localname": "DescriptionOfDefinedContributionPensionAndOtherPostretirementPlans",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DevelopedTechnologyRightsMember": {
     "auth_ref": [
      "r529"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights to developed technology, which can include the right to develop, use, market, sell, or offer for sale products, compounds, or intellectual property.",
        "label": "Developed Technology Rights [Member]",
        "terseLabel": "Developed Technology"
       }
      }
     },
     "localname": "DevelopedTechnologyRightsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Compensation Related Costs Sharebased Payments [Abstract]",
        "terseLabel": "Disclosure Of Compensation Related Costs Sharebased Payments [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax": {
     "auth_ref": [
      "r6",
      "r7",
      "r8",
      "r9",
      "r10",
      "r12",
      "r87",
      "r714"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10120.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of income (loss) from a discontinued operation. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal.",
        "label": "Discontinued Operation Income Loss From Discontinued Operation Before Income Tax",
        "terseLabel": "Discontinued services"
       }
      }
     },
     "localname": "DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue": {
     "auth_ref": [
      "r13",
      "r14"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group Including Discontinued Operation Revenue",
        "verboseLabel": "Revenues from discontinued service lines"
       }
      }
     },
     "localname": "DisposalGroupIncludingDiscontinuedOperationRevenue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsPreferredStock": {
     "auth_ref": [
      "r380",
      "r699"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid preferred stock dividends declared with the form of settlement in cash, stock and payment-in-kind (PIK).",
        "label": "Dividends Preferred Stock",
        "negatedLabel": "Dividend payment to the series A-2 preferred shareholders",
        "verboseLabel": "Preferred stock, dividends paid"
       }
      }
     },
     "localname": "DividendsPreferredStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DomesticCountryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of the government that is entitled to levy and collect income taxes from the entity in its country of domicile.",
        "label": "Domestic Country [Member]",
        "terseLabel": "Domestic Tax Authority [Member]"
       }
      }
     },
     "localname": "DomesticCountryMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EarliestTaxYearMember": {
     "auth_ref": [
      "r478"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Earliest identified tax year.",
        "label": "Earliest Tax Year [Member]",
        "terseLabel": "Earliest Tax Year [Member]"
       }
      }
     },
     "localname": "EarliestTaxYearMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasicAndDiluted": {
     "auth_ref": [
      "r174"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income or loss for the period per each share in instances when basic and diluted earnings per share are the same amount and reported as a single line item on the face of the financial statements.  Basic earnings per share is the amount of net income or loss for the period per each share of common stock or unit outstanding during the reporting period.  Diluted earnings per share includes the amount of net income or loss for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share Basic And Diluted",
        "terseLabel": "NET LOSS PER SHARE ATTRIBUTABLE TO COMMON STOCKHOLDERS\u2014BASIC AND DILUTED",
        "verboseLabel": "Net loss per share attributable to common stockholders \u2013 basic and diluted"
       }
      }
     },
     "localname": "EarningsPerShareBasicAndDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareComputationOfBasicAndDilutedNetLossIncomePerShareAttributableToCommonStockholdersDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r176",
      "r177",
      "r178",
      "r180"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Net Loss per Share"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations": {
     "auth_ref": [
      "r612"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) from effect of exchange rate changes on cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; held in foreign currencies; including, but not limited to, disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Effect Of Exchange Rate On Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Including Disposal Group And Discontinued Operations",
        "terseLabel": "Foreign exchange impact on cash balance"
       }
      }
     },
     "localname": "EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effect Of Exchange Rate On Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Including Disposal Group And Discontinued Operations [Abstract]",
        "terseLabel": "CASH, CASH EQUIVALENTS AND RESTRICTED CASH:"
       }
      }
     },
     "localname": "EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "auth_ref": [
      "r475"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Effective Income Tax Rate Continuing Operations",
        "totalLabel": "Effective income tax rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r134",
      "r475",
      "r507"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of domestic federal statutory tax rate applicable to pretax income (loss).",
        "label": "Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Rate",
        "terseLabel": "Tax completed at federal statutory rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r475",
      "r507"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails": {
       "order": 10080.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to changes in the valuation allowance for deferred tax assets.",
        "label": "Effective Income Tax Rate Reconciliation Change In Deferred Tax Assets Valuation Allowance",
        "terseLabel": "Change in valuation allowance"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationDeductions": {
     "auth_ref": [
      "r475",
      "r507"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails": {
       "order": 10050.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operations attributable to deduction. Includes, but is not limited to, dividend deduction, deduction for dividend paid to employee stock ownership plan (ESOP), Medicare prescription drug benefit subsidy deduction, and other deductions.",
        "label": "Effective Income Tax Rate Reconciliation Deductions",
        "terseLabel": "Embedded derivatives and warrant options"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationDeductions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends": {
     "auth_ref": [
      "r475",
      "r507"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails": {
       "order": 10040.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to deduction for dividend paid to employee stock ownership plan.",
        "label": "Effective Income Tax Rate Reconciliation Deductions Employee Stock Ownership Plan Dividends",
        "terseLabel": "Equity compensation"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense": {
     "auth_ref": [
      "r475",
      "r507"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to nondeductible expenses.",
        "label": "Effective Income Tax Rate Reconciliation Nondeductible Expense",
        "terseLabel": "Non- deductible expenses"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationNondeductibleExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails": {
       "order": 10090.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference, between reported income tax expense (benefit) and the expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations, that is attributable to tax exempt income, equity in earnings (loss) of an unconsolidated subsidiary, minority interest income (expense), tax holiday, disposition of a business, disposition of an asset, repatriation of foreign earnings, repatriation of foreign earnings jobs creation act of 2004, change in enacted tax rate, prior year income taxes, change in deferred tax asset valuation allowance, and other adjustments.",
        "label": "Effective Income Tax Rate Reconciliation Other Reconciling Items Percent",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes": {
     "auth_ref": [
      "r475",
      "r507"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations applicable to state and local income tax expense (benefit), net of federal tax expense (benefit).",
        "label": "Effective Income Tax Rate Reconciliation State And Local Income Taxes",
        "terseLabel": "State tax net of federal benefit"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsForeign": {
     "auth_ref": [
      "r475",
      "r507"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails": {
       "order": 10060.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to foreign tax credit.",
        "label": "Effective Income Tax Rate Reconciliation Tax Credits Foreign",
        "terseLabel": "Foreign taxes"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationTaxCreditsForeign",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfFederalStatutoryIncomeTaxRateToEffectiveIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EmbeddedDerivativeFairValueOfEmbeddedDerivativeAsset": {
     "auth_ref": [
      "r556"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value as of the balance sheet date of the embedded derivative or group of embedded derivatives classified as an asset.",
        "label": "Embedded Derivative Fair Value Of Embedded Derivative Asset",
        "terseLabel": "Compound embedded derivative, fair value net"
       }
      }
     },
     "localname": "EmbeddedDerivativeFairValueOfEmbeddedDerivativeAsset",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmbeddedDerivativeFairValueOfEmbeddedDerivativeLiability": {
     "auth_ref": [
      "r556"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10130.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value as of the balance sheet date of the embedded derivative or group of embedded derivatives classified as a liability.",
        "label": "Embedded Derivative Fair Value Of Embedded Derivative Liability",
        "terseLabel": "Embedded derivative"
       }
      }
     },
     "localname": "EmbeddedDerivativeFairValueOfEmbeddedDerivativeLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmbeddedDerivativeGainLossOnEmbeddedDerivativeNet": {
     "auth_ref": [
      "r563"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10310.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net Increase or Decrease in the fair value of the embedded derivative or group of embedded derivatives included in earnings in the period.",
        "label": "Embedded Derivative Gain Loss On Embedded Derivative Net",
        "negatedLabel": "Fair value changes in financial instruments",
        "terseLabel": "Compound embedded derivative, change in value"
       }
      }
     },
     "localname": "EmbeddedDerivativeGainLossOnEmbeddedDerivativeNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r451"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
        "label": "Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized",
        "terseLabel": "Total unrecognized stock compensation expense related to unvested options, restricted stock and stock appreciation rights granted under the Plans"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r451"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized Period For Recognition1",
        "terseLabel": "Unrecognized expense expected to be recognized period"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [
      "r448"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Employee Stock Option [Member]",
        "terseLabel": "Stock Options",
        "verboseLabel": "Stock Options"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareEquitySharesExcludedFromCalculationOfDilutedNetLossPerShareAttributableToCommonStockholdersDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tangible personal property used to produce goods and services.",
        "label": "Equipment [Member]",
        "terseLabel": "Equipment"
       }
      }
     },
     "localname": "EquipmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "localname": "EquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r2",
      "r83",
      "r84",
      "r85",
      "r139",
      "r140",
      "r141",
      "r146",
      "r155",
      "r157",
      "r181",
      "r256",
      "r373",
      "r380",
      "r458",
      "r459",
      "r460",
      "r496",
      "r497",
      "r579",
      "r613",
      "r614",
      "r615",
      "r616",
      "r617",
      "r618",
      "r725",
      "r726",
      "r727",
      "r765"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAdjustmentOfWarrants": {
     "auth_ref": [
      "r116",
      "r359"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (income) related to adjustment to fair value of warrant liability.",
        "label": "Fair Value Adjustment Of Warrants",
        "terseLabel": "Fair value loss of warrants"
       }
      }
     },
     "localname": "FairValueAdjustmentOfWarrants",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r582",
      "r583",
      "r584",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "auth_ref": [
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Table]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "auth_ref": [
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques Table [Text Block]",
        "terseLabel": "Summary of Fair Value of Warrant Options Associated with Issuance of Redeemable Preferred Stock"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r338",
      "r352",
      "r353",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r583",
      "r663",
      "r664",
      "r665"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value By Fair Value Hierarchy Level [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "auth_ref": [
      "r591",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of liability.",
        "label": "Fair Value By Liability Class [Axis]",
        "terseLabel": "Liability Class"
       }
      }
     },
     "localname": "FairValueByLiabilityClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r582",
      "r583",
      "r586",
      "r587",
      "r594"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Fair Value By Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r591"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value of Financial Instruments"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstruments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r338",
      "r352",
      "r353",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r583",
      "r665"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Inputs Level3 [Member]",
        "terseLabel": "Level 3"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "auth_ref": [
      "r588"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents classes of liabilities measured and disclosed at fair value.",
        "label": "Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]",
        "terseLabel": "Fair Value by Liability Class"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r588",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of liabilities using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets), and gains or losses recognized in other comprehensive income (loss) and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs) by class of liability.",
        "label": "Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Text Block]",
        "terseLabel": "Summary of Financial Instruments Measured at Fair Value on Recurring Basis"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Fair Value Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings": {
     "auth_ref": [
      "r589"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Liability Gain Loss Included In Earnings",
        "verboseLabel": "Changes in fair value included in earnings"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues": {
     "auth_ref": [
      "r590"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of issuances of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Liability Issues",
        "terseLabel": "Issuance of warrant option"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases": {
     "auth_ref": [
      "r590"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchases of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Liability Purchases",
        "terseLabel": "Acquisitions"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements": {
     "auth_ref": [
      "r590"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of settlements of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Liability Settlements",
        "negatedLabel": "Payment of contingent consideration payable"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue": {
     "auth_ref": [
      "r588"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliations Recurring Basis Liability Value",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Level 3 Liabilities"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r338",
      "r352",
      "r353",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r663",
      "r664",
      "r665"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Measurements Fair Value Hierarchy [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r591",
      "r594"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value Measurements Recurring [Member]",
        "terseLabel": "Fair Value, Recurring"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock": {
     "auth_ref": [
      "r588",
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financial instrument classified as a derivative asset (liability) after deduction of derivative liability (asset) using recurring unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Net Derivative Asset Liability Measured On Recurring Basis Unobservable Input Reconciliation Table [Text Block]",
        "terseLabel": "Summary of Financial Liabilities Measured at Fair Value on Recurring Basis"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "auth_ref": [
      "r595",
      "r596"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for determining the fair value of financial instruments.",
        "label": "Fair Value Of Financial Instruments Policy",
        "terseLabel": "Financial Instruments"
       }
      }
     },
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FederalFundsEffectiveSwapRateMember": {
     "auth_ref": [
      "r564"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed rate on U.S. dollar, constant-notional interest rate swap having its variable-rate leg referenced to Federal Funds effective rate with no additional spread over Federal Funds effective rate on that variable-rate leg.",
        "label": "Federal Funds Effective Swap Rate [Member]",
        "terseLabel": "Federal Funds Rate Plus"
       }
      }
     },
     "localname": "FederalFundsEffectiveSwapRateMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations": {
     "auth_ref": [
      "r132",
      "r474"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current and deferred federal income tax expense (benefit) attributable to income (loss) from continuing operations.",
        "label": "Federal Income Tax Expense Benefit Continuing Operations",
        "totalLabel": "Income tax expense (benefit)"
       }
      }
     },
     "localname": "FederalIncomeTaxExpenseBenefitContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeTaxExpenseBenefitDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseInterestExpense": {
     "auth_ref": [
      "r630",
      "r636",
      "r645"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails": {
       "order": 10040.0,
       "parentTag": "meg_FinanceLeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest expense on finance lease liability.",
        "label": "Finance Lease Interest Expense",
        "terseLabel": "Interest on lease liabilities"
       }
      }
     },
     "localname": "FinanceLeaseInterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseInterestPaymentOnLiability": {
     "auth_ref": [
      "r633",
      "r639"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest paid on finance lease liability.",
        "label": "Finance Lease Interest Payment On Liability",
        "terseLabel": "Operating cash flows used in finance leases"
       }
      }
     },
     "localname": "FinanceLeaseInterestPaymentOnLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfSupplementalCashFlowInformationRelatedToLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiability": {
     "auth_ref": [
      "r629",
      "r644"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
       "weight": 1.0
      },
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails2": {
       "order": 10020.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from finance lease.",
        "label": "Finance Lease Liability",
        "terseLabel": "Finance Leases, Total discounted future minimum lease payments"
       }
      }
     },
     "localname": "FinanceLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityCurrent": {
     "auth_ref": [
      "r629"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10220.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from finance lease, classified as current.",
        "label": "Finance Lease Liability Current",
        "terseLabel": "Current portion of finance lease liabilities"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r629"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10150.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from finance lease, classified as noncurrent.",
        "label": "Finance Lease Liability Noncurrent",
        "terseLabel": "Finance lease liability\u2014net of current portion"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r644"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for finance lease.",
        "label": "Finance Lease Liability Payments Due",
        "totalLabel": "Finance Leases, Total undiscounted future minimum lease payments"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r644"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finance Lease Liability Payments Due Next Twelve Months",
        "terseLabel": "Finance Leases, 2022"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r644"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails": {
       "order": 10040.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finance Lease Liability Payments Due Year Four",
        "terseLabel": "Finance Leases, 2025"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r644"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finance Lease Liability Payments Due Year Three",
        "terseLabel": "Finance Leases, 2024"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r644"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finance Lease Liability Payments Due Year Two",
        "terseLabel": "Finance Leases, 2023"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r644"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails2": {
       "order": 10010.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for finance lease.",
        "label": "Finance Lease Liability Undiscounted Excess Amount",
        "negatedLabel": "Finance Leases, Less imputed interest"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeasePrincipalPayments": {
     "auth_ref": [
      "r632",
      "r639"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for principal payment on finance lease.",
        "label": "Finance Lease Principal Payments",
        "terseLabel": "Financing cash flows used in finance leases"
       }
      }
     },
     "localname": "FinanceLeasePrincipalPayments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfSupplementalCashFlowInformationRelatedToLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseRightOfUseAsset": {
     "auth_ref": [
      "r628"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10270.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of right-of-use asset from finance lease.",
        "label": "Finance Lease Right Of Use Asset",
        "terseLabel": "Finance lease right-of-use asset\u2014net"
       }
      }
     },
     "localname": "FinanceLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseRightOfUseAssetAmortization": {
     "auth_ref": [
      "r630",
      "r636",
      "r645"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails": {
       "order": 10030.0,
       "parentTag": "meg_FinanceLeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to right-of-use asset from finance lease.",
        "label": "Finance Lease Right Of Use Asset Amortization",
        "terseLabel": "Amortization of assets under finance lease"
       }
      }
     },
     "localname": "FinanceLeaseRightOfUseAssetAmortization",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r642",
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for finance lease calculated at point in time.",
        "label": "Finance Lease Weighted Average Discount Rate Percent",
        "terseLabel": "Weighted average discount rate, Finance Leases"
       }
      }
     },
     "localname": "FinanceLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r641",
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining lease term for finance lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Finance Lease Weighted Average Remaining Lease Term1",
        "terseLabel": "Weighted average remaining lease term, Finance Leases"
       }
      }
     },
     "localname": "FinanceLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Finite Lived Intangible Asset Useful Life",
        "terseLabel": "Estimated Useful Life"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "auth_ref": [
      "r280"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite Lived Intangible Assets Accumulated Amortization",
        "terseLabel": "Accumulated Amortization"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "auth_ref": [
      "r282"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfFutureAmortizationExpenseDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite Lived Intangible Assets Amortization Expense Next Twelve Months",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfFutureAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "auth_ref": [
      "r282"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfFutureAmortizationExpenseDetails": {
       "order": 10040.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite Lived Intangible Assets Amortization Expense Year Four",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfFutureAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "auth_ref": [
      "r282"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfFutureAmortizationExpenseDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite Lived Intangible Assets Amortization Expense Year Three",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfFutureAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "auth_ref": [
      "r282"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfFutureAmortizationExpenseDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite Lived Intangible Assets Amortization Expense Year Two",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfFutureAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r276",
      "r278",
      "r280",
      "r283",
      "r674",
      "r681"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by major type or class of finite-lived intangible assets.",
        "label": "Finite Lived Intangible Assets By Major Class [Axis]",
        "terseLabel": "Finite-Lived Intangible Assets by Major Class"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsGross": {
     "auth_ref": [
      "r280",
      "r681"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite Lived Intangible Assets Gross",
        "terseLabel": "Gross Balance"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Finite Lived Intangible Assets [Line Items]",
        "terseLabel": "Finite-Lived Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r276",
      "r279"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.",
        "label": "Finite Lived Intangible Assets Major Class Name [Domain]",
        "terseLabel": "Finite-Lived Intangible Assets, Major Class Name"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r280",
      "r674"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfFutureAmortizationExpenseDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10290.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite Lived Intangible Assets Net",
        "terseLabel": "Other intangible assets\u2014net",
        "totalLabel": "Total Intangible Assets\u2014Net"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfFutureAmortizationExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "auth_ref": [
      "r620"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy.",
        "label": "Foreign Currency Transactions And Translations Policy [Text Block]",
        "terseLabel": "Foreign Currency"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FurnitureAndFixturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment commonly used in offices and stores that have no permanent connection to the structure of a building or utilities. Examples include, but are not limited to, desks, chairs, tables, and bookcases.",
        "label": "Furniture And Fixtures [Member]",
        "terseLabel": "Furniture and fixtures"
       }
      }
     },
     "localname": "FurnitureAndFixturesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainsLossesOnExtinguishmentOfDebt": {
     "auth_ref": [
      "r116",
      "r356",
      "r357"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10350.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity.",
        "label": "Gains Losses On Extinguishment Of Debt",
        "negatedLabel": "Debt extinguishment costs",
        "terseLabel": "Loss on extinguishment"
       }
      }
     },
     "localname": "GainsLossesOnExtinguishmentOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r270",
      "r271",
      "r658",
      "r684"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10280.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToGoodwillDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAcquiredDuringPeriod": {
     "auth_ref": [
      "r272"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination.",
        "label": "Goodwill Acquired During Period",
        "terseLabel": "Goodwill acquired during the year"
       }
      }
     },
     "localname": "GoodwillAcquiredDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill And Intangible Assets Disclosure [Abstract]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r284"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for goodwill and intangible assets.",
        "label": "Goodwill And Intangible Assets Disclosure [Text Block]",
        "terseLabel": "Goodwill and Intangible Assets"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsGoodwillPolicy": {
     "auth_ref": [
      "r273"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for goodwill. This accounting policy also may address how an entity assesses and measures impairment of goodwill, how reporting units are determined, how goodwill is allocated to such units, and how the fair values of the reporting units are determined.",
        "label": "Goodwill And Intangible Assets Goodwill Policy",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsGoodwillPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Goodwill [Line Items]",
        "terseLabel": "Goodwill [Line Items]"
       }
      }
     },
     "localname": "GoodwillLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToGoodwillDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IPOMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First sale of stock by a private company to the public.",
        "label": "I P O [Member]",
        "terseLabel": "IPO"
       }
      }
     },
     "localname": "IPOMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf": {
     "auth_ref": [
      "r116",
      "r286"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of write-downs for impairments recognized during the period for long-lived assets held for abandonment, exchange or sale.",
        "label": "Impairment Of Long Lived Assets To Be Disposed Of",
        "terseLabel": "Impairment of long-lived assets"
       }
      }
     },
     "localname": "ImpairmentOfLongLivedAssetsToBeDisposedOf",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock": {
     "auth_ref": [
      "r285",
      "r293"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognizing and measuring the impairment of long-lived assets. An entity also may disclose its accounting policy for long-lived assets to be sold. This policy excludes goodwill and intangible assets.",
        "label": "Impairment Or Disposal Of Long Lived Assets Policy [Text Block]",
        "terseLabel": "Impairment of Long-Lived Assets"
       }
      }
     },
     "localname": "ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic": {
     "auth_ref": [
      "r133",
      "r506"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfGeographicalBreakdownOfIncomeBeforeProvisionForLossIncomeTaxesDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of earnings or loss from continuing operations before income taxes that is attributable to domestic operations.",
        "label": "Income Loss From Continuing Operations Before Income Taxes Domestic",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfGeographicalBreakdownOfIncomeBeforeProvisionForLossIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r86",
      "r209",
      "r221",
      "r225",
      "r228",
      "r231",
      "r682",
      "r693",
      "r697",
      "r717"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfGeographicalBreakdownOfIncomeBeforeProvisionForLossIncomeTaxesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10070.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income Loss From Continuing Operations Before Income Taxes Extraordinary Items Noncontrolling Interest",
        "totalLabel": "LOSS BEFORE EXPENSE (BENEFIT) FROM INCOME TAXES"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfGeographicalBreakdownOfIncomeBeforeProvisionForLossIncomeTaxesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign": {
     "auth_ref": [
      "r133",
      "r506"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfGeographicalBreakdownOfIncomeBeforeProvisionForLossIncomeTaxesDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of earnings or loss from continuing operations before income taxes that is attributable to foreign operations, which is defined as Income or Loss generated from operations located outside the entity's country of domicile.",
        "label": "Income Loss From Continuing Operations Before Income Taxes Foreign",
        "terseLabel": "Foreign"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfGeographicalBreakdownOfIncomeBeforeProvisionForLossIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r291",
      "r295"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]",
        "terseLabel": "Income Statement Location"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r295"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]",
        "terseLabel": "Income Statement Location"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "auth_ref": [
      "r478"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by tax jurisdiction.",
        "label": "Income Tax Authority [Axis]",
        "terseLabel": "Income Tax Authority"
       }
      }
     },
     "localname": "IncomeTaxAuthorityAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agency, division or body classification that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes.",
        "label": "Income Tax Authority [Domain]",
        "terseLabel": "Income Tax Authority"
       }
      }
     },
     "localname": "IncomeTaxAuthorityDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r134",
      "r476",
      "r480",
      "r487",
      "r501",
      "r508",
      "r510",
      "r511",
      "r512"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExaminationDescription": {
     "auth_ref": [
      "r477"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A brief description of status of the tax examination, significant findings to date, and the entity's position with respect to the findings.",
        "label": "Income Tax Examination Description",
        "terseLabel": "Income Tax Examination, Description"
       }
      }
     },
     "localname": "IncomeTaxExaminationDescription",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r135",
      "r156",
      "r157",
      "r207",
      "r474",
      "r502",
      "r509",
      "r718"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10080.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense Benefit",
        "negatedLabel": "Income tax (expense) benefit",
        "terseLabel": "INCOME TAXES EXPENSE (BENEFIT)"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r82",
      "r470",
      "r471",
      "r480",
      "r481",
      "r486",
      "r493"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax Policy [Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "auth_ref": [
      "r120"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes.",
        "label": "Income Taxes Paid Net",
        "terseLabel": "Cash paid for income tax"
       }
      }
     },
     "localname": "IncomeTaxesPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesReceivable": {
     "auth_ref": [
      "r68",
      "r690",
      "r713"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10360.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount due within one year of the balance sheet date (or one operating cycle, if longer) from tax authorities as of the balance sheet date representing refunds of overpayments or recoveries based on agreed-upon resolutions of disputes.",
        "label": "Income Taxes Receivable",
        "terseLabel": "Income tax receivable"
       }
      }
     },
     "localname": "IncomeTaxesReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "auth_ref": [
      "r115"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10390.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid.",
        "label": "Increase Decrease In Accounts Payable And Accrued Liabilities",
        "terseLabel": "Accounts payable and other accrued liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities": {
     "auth_ref": [
      "r115"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10400.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits.",
        "label": "Increase Decrease In Employee Related Liabilities",
        "terseLabel": "Accrued payroll and benefits"
       }
      }
     },
     "localname": "IncreaseDecreaseInEmployeeRelatedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease In Operating Capital [Abstract]",
        "terseLabel": "Changes in operating assets and liabilities\u2014net of acquisitions:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingAssets": {
     "auth_ref": [
      "r115"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10430.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating assets classified as other.",
        "label": "Increase Decrease In Other Operating Assets",
        "negatedLabel": "Other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "auth_ref": [
      "r115"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10380.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
        "label": "Increase Decrease In Prepaid Deferred Expense And Other Assets",
        "negatedLabel": "Prepaid expenses and other current assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInReceivables": {
     "auth_ref": [
      "r115"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10370.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the total amount due within one year (or one operating cycle) from all parties, associated with underlying transactions that are classified as operating activities.",
        "label": "Increase Decrease In Receivables",
        "negatedLabel": "Accounts receivable and contract assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInReceivables",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r696"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10120.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "Interest Income Expense Net",
        "terseLabel": "Interest expense\u2014net",
        "verboseLabel": "Interest expense, net"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r109",
      "r113",
      "r120"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid Net",
        "terseLabel": "Cash paid for interest"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateSwapMember": {
     "auth_ref": [
      "r559"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Forward based contracts in which two parties agree to swap periodic payments that are fixed at the outset of the swap contract with variable payments based on a market interest rate (index rate) over a specified period.",
        "label": "Interest Rate Swap [Member]",
        "terseLabel": "Interest Rate Swap"
       }
      }
     },
     "localname": "InterestRateSwapMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentIncomeNet": {
     "auth_ref": [
      "r94",
      "r96"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10060.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accretion (amortization) of discount (premium), and investment expense, of interest income and dividend income on nonoperating securities.",
        "label": "Investment Income Net",
        "terseLabel": "Start-up losses and investment in new services"
       }
      }
     },
     "localname": "InvestmentIncomeNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LandMember": {
     "auth_ref": [
      "r393"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Part of earth's surface not covered by water.",
        "label": "Land [Member]",
        "terseLabel": "Land"
       }
      }
     },
     "localname": "LandMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LatestTaxYearMember": {
     "auth_ref": [
      "r478"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Latest identified tax year.",
        "label": "Latest Tax Year [Member]",
        "terseLabel": "Latest Tax Year [Member]"
       }
      }
     },
     "localname": "LatestTaxYearMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeaseCost": {
     "auth_ref": [
      "r643",
      "r645"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease cost recognized by lessee for lease contract.",
        "label": "Lease Cost",
        "totalLabel": "Total lease cost"
       }
      }
     },
     "localname": "LeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "auth_ref": [
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income.",
        "label": "Lease Cost Table [Text Block]",
        "terseLabel": "Summary of Components of Lease Expense"
       }
      }
     },
     "localname": "LeaseCostTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LeaseholdImprovementsMember": {
     "auth_ref": [
      "r288"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additions or improvements to assets held under a lease arrangement.",
        "label": "Leasehold Improvements [Member]",
        "terseLabel": "Leasehold improvements"
       }
      }
     },
     "localname": "LeaseholdImprovementsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeasesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases [Abstract]"
       }
      }
     },
     "localname": "LeasesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeLeaseDescriptionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Lessee Lease Description [Line Items]",
        "terseLabel": "Lessee Lease Description [Line Items]"
       }
      }
     },
     "localname": "LesseeLeaseDescriptionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeLeaseDescriptionTable": {
     "auth_ref": [
      "r635"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about lessee's leases.",
        "label": "Lessee Lease Description [Table]",
        "terseLabel": "Lessee Lease Description [Table]"
       }
      }
     },
     "localname": "LesseeLeaseDescriptionTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r644"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease.",
        "label": "Lessee Operating Lease Liability Payments Due",
        "totalLabel": "Operating Leases, Total undiscounted future minimum lease payments"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r644"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails": {
       "order": 10060.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee Operating Lease Liability Payments Due Next Twelve Months",
        "terseLabel": "Operating Leases, 2022"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r644"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails": {
       "order": 10090.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee Operating Lease Liability Payments Due Year Four",
        "terseLabel": "Operating Leases, 2025"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r644"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails": {
       "order": 10080.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee Operating Lease Liability Payments Due Year Three",
        "terseLabel": "Operating Leases, 2024"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r644"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails": {
       "order": 10070.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee Operating Lease Liability Payments Due Year Two",
        "terseLabel": "Operating Leases, 2023"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r644"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails2": {
       "order": 10030.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease.",
        "label": "Lessee Operating Lease Liability Undiscounted Excess Amount",
        "negatedLabel": "Operating Leases, Less imputed interest"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LetterOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A document typically issued by a financial institution which acts as a guarantee of payment to a beneficiary, or as the source of payment for a specific transaction (for example, wiring funds to a foreign exporter if and when specified merchandise is accepted pursuant to the terms of the letter of credit).",
        "label": "Letter Of Credit [Member]",
        "terseLabel": "Letter of Credit"
       }
      }
     },
     "localname": "LetterOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r58",
      "r131",
      "r223",
      "r248",
      "r308",
      "r309",
      "r310",
      "r313",
      "r314",
      "r315",
      "r317",
      "r319",
      "r321",
      "r322",
      "r545",
      "r549",
      "r550",
      "r599",
      "r656",
      "r657"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10010.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r46",
      "r131",
      "r248",
      "r599",
      "r658",
      "r689",
      "r709"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities And Stockholders Equity",
        "totalLabel": "TOTAL LIABILITIES, CONVERTIBLE AND REDEEMABLE SERIES A-2 PREFERRED STOCK AND STOCKHOLDERS\u2019 EQUITY"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities And Stockholders Equity [Abstract]",
        "terseLabel": "LIABILITIES, CONVERTIBLE AND REDEEMABLE SERIES A-2 PREFERRED STOCK AND STOCKHOLDERS\u2019 EQUITY"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r60",
      "r131",
      "r248",
      "r308",
      "r309",
      "r310",
      "r313",
      "r314",
      "r315",
      "r317",
      "r319",
      "r321",
      "r322",
      "r545",
      "r549",
      "r550",
      "r599",
      "r656",
      "r657",
      "r658"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10090.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
        "label": "Liabilities Current",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "LiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities Current [Abstract]",
        "terseLabel": "CURRENT LIABILITIES:"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities Noncurrent [Abstract]",
        "terseLabel": "NON-CURRENT LIABILITIES:"
       }
      }
     },
     "localname": "LiabilitiesNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCredit": {
     "auth_ref": [
      "r33",
      "r688",
      "r703"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
        "label": "Line Of Credit",
        "terseLabel": "Total debt",
        "verboseLabel": "Line of credit"
       }
      }
     },
     "localname": "LineOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityExpirationDate1": {
     "auth_ref": [
      "r55"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the credit facility terminates, in YYYY-MM-DD format.",
        "label": "Line Of Credit Facility Expiration Date1",
        "terseLabel": "Credit facility maturity date"
       }
      }
     },
     "localname": "LineOfCreditFacilityExpirationDate1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_LineOfCreditFacilityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Line Of Credit Facility [Line Items]",
        "terseLabel": "Line of Credit Facility [Line Items]"
       }
      }
     },
     "localname": "LineOfCreditFacilityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [
      "r55"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.",
        "label": "Line Of Credit Facility Maximum Borrowing Capacity",
        "terseLabel": "Line of credit facility, maximum borrowing capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityTable": {
     "auth_ref": [
      "r55",
      "r130"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.",
        "label": "Line Of Credit Facility [Table]",
        "terseLabel": "Line Of Credit Facility [Table]"
       }
      }
     },
     "localname": "LineOfCreditFacilityTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility.",
        "label": "Line Of Credit Facility Unused Capacity Commitment Fee Percentage",
        "terseLabel": "Commitment Fee",
        "verboseLabel": "Commitment Fee"
       }
      }
     },
     "localname": "LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LondonInterbankOfferedRateLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
        "label": "London Interbank Offered Rate L I B O R [Member]",
        "terseLabel": "LIBOR Plus"
       }
      }
     },
     "localname": "LondonInterbankOfferedRateLIBORMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r33",
      "r337",
      "r351",
      "r352",
      "r353",
      "r688",
      "r705"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfAggregateAnnualMaturitiesOfLongTermDebtDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.",
        "label": "Long Term Debt",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfAggregateAnnualMaturitiesOfLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtAndCapitalLeaseObligations": {
     "auth_ref": [
      "r33"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails2": {
       "order": 10020.0,
       "parentTag": "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt and lease obligation, classified as noncurrent.",
        "label": "Long Term Debt And Capital Lease Obligations",
        "terseLabel": "Long-term debt, less current portion"
       }
      }
     },
     "localname": "LongTermDebtAndCapitalLeaseObligations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent": {
     "auth_ref": [
      "r59"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails2": {
       "order": 10010.0,
       "parentTag": "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt and lease obligation, classified as current.",
        "label": "Long Term Debt And Capital Lease Obligations Current",
        "negatedLabel": "Less current portion of long-term debt"
       }
      }
     },
     "localname": "LongTermDebtAndCapitalLeaseObligationsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt and lease obligation, including portion classified as current.",
        "label": "Long Term Debt And Capital Lease Obligations Including Current Maturities",
        "totalLabel": "Total debt"
       }
      }
     },
     "localname": "LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtCurrent": {
     "auth_ref": [
      "r57"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10230.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt, classified as current. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.",
        "label": "Long Term Debt Current",
        "terseLabel": "Current portion of long-term debt"
       }
      }
     },
     "localname": "LongTermDebtCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths": {
     "auth_ref": [
      "r137",
      "r305",
      "r342"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfAggregateAnnualMaturitiesOfLongTermDebtDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long Term Debt Maturities Repayments Of Principal In Next Twelve Months",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfAggregateAnnualMaturitiesOfLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive": {
     "auth_ref": [
      "r137",
      "r305",
      "r342"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfAggregateAnnualMaturitiesOfLongTermDebtDetails": {
       "order": 10050.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long Term Debt Maturities Repayments Of Principal In Year Five",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfAggregateAnnualMaturitiesOfLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour": {
     "auth_ref": [
      "r137",
      "r305",
      "r342"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfAggregateAnnualMaturitiesOfLongTermDebtDetails": {
       "order": 10040.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long Term Debt Maturities Repayments Of Principal In Year Four",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfAggregateAnnualMaturitiesOfLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree": {
     "auth_ref": [
      "r137",
      "r305",
      "r342"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfAggregateAnnualMaturitiesOfLongTermDebtDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long Term Debt Maturities Repayments Of Principal In Year Three",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfAggregateAnnualMaturitiesOfLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo": {
     "auth_ref": [
      "r137",
      "r305",
      "r342"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfAggregateAnnualMaturitiesOfLongTermDebtDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long Term Debt Maturities Repayments Of Principal In Year Two",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfAggregateAnnualMaturitiesOfLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtNoncurrent": {
     "auth_ref": [
      "r61"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10160.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after unamortized (discount) premium and debt issuance costs of long-term debt classified as noncurrent and excluding amounts to be repaid within one year or the normal operating cycle, if longer. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.",
        "label": "Long Term Debt Noncurrent",
        "terseLabel": "Long-term debt\u2014net of deferred financing fees"
       }
      }
     },
     "localname": "LongTermDebtNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r61"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Longterm Debt Type [Axis]",
        "terseLabel": "Long-term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r61",
      "r306"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Longterm Debt Type [Domain]",
        "terseLabel": "Long-term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputExpectedTermMember": {
     "auth_ref": [
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using period financial instrument is expected to be outstanding. Excludes maturity date.",
        "label": "Measurement Input Expected Term [Member]",
        "terseLabel": "Measurement Input, Expected Term"
       }
      }
     },
     "localname": "MeasurementInputExpectedTermMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputOptionVolatilityMember": {
     "auth_ref": [
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using rate at which price of option increases (decreases) for given set of returns.",
        "label": "Measurement Input Option Volatility [Member]",
        "terseLabel": "Measurement Input, Option Volatility"
       }
      }
     },
     "localname": "MeasurementInputOptionVolatilityMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputRiskFreeInterestRateMember": {
     "auth_ref": [
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using interest rate on instrument with zero risk of financial loss.",
        "label": "Measurement Input Risk Free Interest Rate [Member]",
        "terseLabel": "Measurement Input, Risk Free Interest Rate"
       }
      }
     },
     "localname": "MeasurementInputRiskFreeInterestRateMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputSharePriceMember": {
     "auth_ref": [
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using share price of saleable stock.",
        "label": "Measurement Input Share Price [Member]",
        "terseLabel": "Measurement Input, Share Price"
       }
      }
     },
     "localname": "MeasurementInputSharePriceMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10030.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided By Used In Financing Activities",
        "totalLabel": "Net cash provided by financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided By Used In Financing Activities [Abstract]",
        "terseLabel": "FINANCING ACTIVITIES:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10020.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided By Used In Investing Activities",
        "totalLabel": "Net cash used in investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided By Used In Investing Activities [Abstract]",
        "terseLabel": "INVESTING ACTIVITIES:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r112",
      "r114",
      "r117"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10010.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided By Used In Operating Activities",
        "totalLabel": "Net cash provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided By Used In Operating Activities [Abstract]",
        "terseLabel": "OPERATING ACTIVITIES:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r14",
      "r77",
      "r79",
      "r85",
      "r88",
      "r117",
      "r131",
      "r145",
      "r151",
      "r152",
      "r153",
      "r154",
      "r156",
      "r157",
      "r171",
      "r209",
      "r221",
      "r225",
      "r228",
      "r231",
      "r248",
      "r308",
      "r309",
      "r310",
      "r313",
      "r314",
      "r315",
      "r317",
      "r319",
      "r321",
      "r322",
      "r581",
      "r599",
      "r694",
      "r715"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareComputationOfBasicAndDilutedNetLossIncomePerShareAttributableToCommonStockholdersDetails": {
       "order": 10010.0,
       "parentTag": "meg_NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted",
       "weight": 1.0
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10050.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income Loss",
        "positiveTerseLabel": "Net loss",
        "terseLabel": "Net loss",
        "totalLabel": "NET INCOME (LOSS)"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareComputationOfBasicAndDilutedNetLossIncomePerShareAttributableToCommonStockholdersDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted": {
     "auth_ref": [
      "r163",
      "r166",
      "r167",
      "r168",
      "r169",
      "r172",
      "r175"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders.",
        "label": "Net Income Loss Available To Common Stockholders Diluted",
        "totalLabel": "NET LOSS ATTRIBUTABLE TO COMMON STOCKHOLDERS"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Accounting Pronouncements And Changes In Accounting Principles [Abstract]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "auth_ref": [
      "r5",
      "r143",
      "r144",
      "r147",
      "r148",
      "r159",
      "r160",
      "r161",
      "r246",
      "r247",
      "r257",
      "r258",
      "r395",
      "r396",
      "r397",
      "r398",
      "r461",
      "r498",
      "r499",
      "r500",
      "r577",
      "r607",
      "r608",
      "r609",
      "r647",
      "r678",
      "r679",
      "r680",
      "r729",
      "r730",
      "r731",
      "r732",
      "r734",
      "r766"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for change in accounting principle. Includes, but is not limited to, nature, reason, and method of adopting amendment to accounting standards or other change in accounting principle.",
        "label": "New Accounting Pronouncements And Changes In Accounting Principles [Text Block]",
        "terseLabel": "Summary of New Accounting Pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "New Accounting Pronouncements Or Change In Accounting Principle [Line Items]",
        "terseLabel": "New Accounting Pronouncements Or Change In Accounting Principle [Line Items]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable": {
     "auth_ref": [
      "r0",
      "r1",
      "r2",
      "r3",
      "r4",
      "r142",
      "r145",
      "r146",
      "r147",
      "r149",
      "r150",
      "r153",
      "r159",
      "r179",
      "r244",
      "r245",
      "r253",
      "r254",
      "r255",
      "r256",
      "r259",
      "r260",
      "r307",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r460",
      "r462",
      "r494",
      "r495",
      "r496",
      "r497",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r578",
      "r579",
      "r580",
      "r581",
      "r600",
      "r601",
      "r603",
      "r604",
      "r605",
      "r606",
      "r610",
      "r611",
      "r646",
      "r675",
      "r676",
      "r677",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarization of the changes in an accounting principle or a new accounting pronouncement, including the line items affected by the change and the financial effects of the change on those particular line items.",
        "label": "New Accounting Pronouncements Or Change In Accounting Principle [Table]",
        "terseLabel": "New Accounting Pronouncements Or Change In Accounting Principle [Table]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements Policy Policy [Text Block]",
        "terseLabel": "Recently Adopted Accounting Pronouncements /Recently Issued Accounting Pronouncements Not Yet Adopted"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncompeteAgreementsMember": {
     "auth_ref": [
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agreement in which one party agrees not to pursue a similar trade in competition with another party.",
        "label": "Noncompete Agreements [Member]",
        "terseLabel": "Covenants Not to Compete"
       }
      }
     },
     "localname": "NoncompeteAgreementsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NonoperatingIncomeExpense": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10100.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business).",
        "label": "Nonoperating Income Expense",
        "totalLabel": "Total other expenses\u2014net"
       }
      }
     },
     "localname": "NonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NonoperatingIncomeExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nonoperating Income Expense [Abstract]",
        "terseLabel": "OTHER EXPENSE:"
       }
      }
     },
     "localname": "NonoperatingIncomeExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock": {
     "auth_ref": [
      "r425"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the changes in outstanding nonvested restricted stock shares.",
        "label": "Nonvested Restricted Stock Shares Activity Table [Text Block]",
        "terseLabel": "Schedule of Restricted Stock Activity"
       }
      }
     },
     "localname": "NonvestedRestrictedStockSharesActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NumberOfOperatingSegments": {
     "auth_ref": [
      "r197"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues.",
        "label": "Number Of Operating Segments",
        "terseLabel": "Number of operating segments"
       }
      }
     },
     "localname": "NumberOfOperatingSegments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [
      "r197"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
        "label": "Number Of Reportable Segments",
        "terseLabel": "Number of reportable segments"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OfficeEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tangible personal property used in an office setting. Examples include, but are not limited to, computers, copiers and fax machine.",
        "label": "Office Equipment [Member]",
        "terseLabel": "Office Equipment"
       }
      }
     },
     "localname": "OfficeEquipmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OpenTaxYear": {
     "auth_ref": [
      "r478"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tax year that remains open to examination under enacted tax laws, in YYYY format.",
        "label": "Open Tax Year",
        "terseLabel": "Tax years remain subject to examination"
       }
      }
     },
     "localname": "OpenTaxYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearListItemType"
    },
    "us-gaap_OperatingIncomeLoss": {
     "auth_ref": [
      "r209",
      "r221",
      "r225",
      "r228",
      "r231"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10090.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net result for the period of deducting operating expenses from operating revenues.",
        "label": "Operating Income Loss",
        "totalLabel": "INCOME (LOSS) FROM OPERATIONS"
       }
      }
     },
     "localname": "OperatingIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseCost": {
     "auth_ref": [
      "r637",
      "r645"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability.",
        "label": "Operating Lease Cost",
        "totalLabel": "Total operating lease cost"
       }
      }
     },
     "localname": "OperatingLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseExpense": {
     "auth_ref": [
      "r631"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails": {
       "order": 10050.0,
       "parentTag": "us-gaap_OperatingLeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating lease expense. Excludes sublease income.",
        "label": "Operating Lease Expense",
        "terseLabel": "Rent expense",
        "verboseLabel": "Lease cost"
       }
      }
     },
     "localname": "OperatingLeaseExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r629"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails2": {
       "order": 10040.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease Liability",
        "terseLabel": "Operating Leases, Total discounted future minimum lease payments"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r629"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10210.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
        "label": "Operating Lease Liability Current",
        "terseLabel": "Current portion of operating lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r629"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10140.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
        "label": "Operating Lease Liability Noncurrent",
        "terseLabel": "Operating lease liability\u2014net of current portion"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasePayments": {
     "auth_ref": [
      "r634",
      "r639"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use.",
        "label": "Operating Lease Payments",
        "terseLabel": "Operating cash flows used in operating leases"
       }
      }
     },
     "localname": "OperatingLeasePayments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfSupplementalCashFlowInformationRelatedToLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r628"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10260.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease Right Of Use Asset",
        "terseLabel": "Operating lease right-of-use asset\u2014net"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r642",
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for operating lease calculated at point in time.",
        "label": "Operating Lease Weighted Average Discount Rate Percent",
        "terseLabel": "Weighted average discount rate, Operating Leases"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r641",
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Operating Lease Weighted Average Remaining Lease Term1",
        "terseLabel": "Weighted average remaining lease term, Operating Leases"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_OperatingLossCarryforwards": {
     "auth_ref": [
      "r488"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.",
        "label": "Operating Loss Carryforwards",
        "terseLabel": "Operating Loss Carryforwards"
       }
      }
     },
     "localname": "OperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingSegmentsMember": {
     "auth_ref": [
      "r220",
      "r221",
      "r222",
      "r223",
      "r225",
      "r231"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Operating Segments [Member]",
        "terseLabel": "Operating Segments"
       }
      }
     },
     "localname": "OperatingSegmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OptionIndexedToIssuersEquityTypeAxis": {
     "auth_ref": [
      "r360",
      "r567",
      "r568",
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of freestanding contracts issued by an entity that are indexed to, and potentially settled in, an entity's own stock.",
        "label": "Option Indexed To Issuers Equity Type [Axis]",
        "terseLabel": "Option Indexed to Issuer's Equity, Type"
       }
      }
     },
     "localname": "OptionIndexedToIssuersEquityTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OptionIndexedToIssuersEquityTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the type of freestanding contract issued by a Company that is indexed to, and potentially settled in, a Company's own stock. Specifically, the pertinent rights and privileges of the securities outstanding.",
        "label": "Option Indexed To Issuers Equity Type [Domain]",
        "terseLabel": "Option Indexed to Issuer's Equity, Type"
       }
      }
     },
     "localname": "OptionIndexedToIssuersEquityTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization Consolidation And Presentation Of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherAccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r24",
      "r25",
      "r26",
      "r59"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefitsScheduleOfAccruedPayrollAndBenefitsDetails": {
       "order": 10040.0,
       "parentTag": "us-gaap_AccruedEmployeeBenefitsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses incurred but not yet paid classified as other, due within one year or the normal operating cycle, if longer.",
        "label": "Other Accrued Liabilities Current",
        "terseLabel": "Accrued other"
       }
      }
     },
     "localname": "OtherAccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefitsScheduleOfAccruedPayrollAndBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsNoncurrent": {
     "auth_ref": [
      "r52"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10300.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncurrent assets classified as other.",
        "label": "Other Assets Noncurrent",
        "terseLabel": "Other assets"
       }
      }
     },
     "localname": "OtherAssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax": {
     "auth_ref": [
      "r72"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10060.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature.",
        "label": "Other Comprehensive Income Loss Foreign Currency Transaction And Translation Adjustment Net Of Tax",
        "terseLabel": "EQUITY ADJUSTMENT FROM FOREIGN CURRENCY TRANSLATION",
        "verboseLabel": "Accumulated other comprehensive income (loss)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesCurrent": {
     "auth_ref": [
      "r23",
      "r24",
      "r59",
      "r658"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesSummaryOfAccountsPayableAndOtherAccruedLiabilitiesDetails": {
       "order": 10050.0,
       "parentTag": "us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities Current",
        "terseLabel": "Other current liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesSummaryOfAccountsPayableAndOtherAccruedLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesNoncurrent": {
     "auth_ref": [
      "r62"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10110.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities Noncurrent",
        "terseLabel": "Other non-current liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoncashIncomeExpense": {
     "auth_ref": [
      "r117"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10360.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) included in net income that results in no cash inflow (outflow), classified as other.",
        "label": "Other Noncash Income Expense",
        "negatedLabel": "Other"
       }
      }
     },
     "localname": "OtherNoncashIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNonoperatingExpense": {
     "auth_ref": [
      "r97"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10140.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense related to nonoperating activities, classified as other.",
        "label": "Other Nonoperating Expense",
        "negatedLabel": "Other losses or expenses"
       }
      }
     },
     "localname": "OtherNonoperatingExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpense": {
     "auth_ref": [
      "r97"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10110.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) related to nonoperating activities, classified as other.",
        "label": "Other Nonoperating Income Expense",
        "terseLabel": "Other expense"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other nonoperating income (expense).",
        "label": "Other Nonoperating Income Expense [Member]",
        "terseLabel": "Other Expense"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OverAllotmentOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right given to the underwriter to sell additional shares over the initial allotment.",
        "label": "Over Allotment Option [Member]",
        "terseLabel": "Underwriters"
       }
      }
     },
     "localname": "OverAllotmentOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PatentsMember": {
     "auth_ref": [
      "r529"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exclusive legal right granted by the government to the owner of the patent to exploit an invention or a process for a period of time specified by law.",
        "label": "Patents [Member]",
        "terseLabel": "Patent"
       }
      }
     },
     "localname": "PatentsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PayablesAndAccrualsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payables And Accruals [Abstract]"
       }
      }
     },
     "localname": "PayablesAndAccrualsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities": {
     "auth_ref": [
      "r107"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10080.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow, not made soon after acquisition date of business combination, to settle contingent consideration liability up to amount recognized at acquisition date, including, but not limited to, measurement period adjustment and less amount paid soon after acquisition date.",
        "label": "Payment For Contingent Consideration Liability Financing Activities",
        "negatedLabel": "Payment of contingent consideration and other assumed purchase price obligations"
       }
      }
     },
     "localname": "PaymentForContingentConsiderationLiabilityFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock": {
     "auth_ref": [
      "r104"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10160.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for reacquisition of callable preferred stock.",
        "label": "Payments For Repurchase Of Redeemable Preferred Stock",
        "negatedLabel": "Redemption of the series A-1 preferred stock"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfRedeemablePreferredStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDebtIssuanceCosts": {
     "auth_ref": [
      "r106"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10130.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt.",
        "label": "Payments Of Debt Issuance Costs",
        "negatedLabel": "Debt issuance cost"
       }
      }
     },
     "localname": "PaymentsOfDebtIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividends": {
     "auth_ref": [
      "r104"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10170.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash outflow in the form of capital distributions and dividends to common shareholders, preferred shareholders and noncontrolling interests.",
        "label": "Payments Of Dividends",
        "negatedLabel": "Dividend payment to the series A-2 shareholders"
       }
      }
     },
     "localname": "PaymentsOfDividends",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "auth_ref": [
      "r108"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10110.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for cost incurred directly with the issuance of an equity security.",
        "label": "Payments Of Stock Issuance Costs",
        "negatedLabel": "Payments of deferred offering costs"
       }
      }
     },
     "localname": "PaymentsOfStockIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesGross": {
     "auth_ref": [
      "r100",
      "r537"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails": {
       "order": 10010.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price.",
        "label": "Payments To Acquire Businesses Gross",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsScheduleOfElementsOfPurchasePriceOfAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired": {
     "auth_ref": [
      "r100"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10250.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase.",
        "label": "Payments To Acquire Businesses Net Of Cash Acquired",
        "negatedLabel": "Cash paid for acquisitions\u2014net of cash acquired"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesNetOfCashAcquired",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireIntangibleAssets": {
     "auth_ref": [
      "r101"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10220.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to acquire asset without physical form usually arising from contractual or other legal rights, excluding goodwill.",
        "label": "Payments To Acquire Intangible Assets",
        "negatedLabel": "Proprietary software development and other software costs"
       }
      }
     },
     "localname": "PaymentsToAcquireIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r101"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10200.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments To Acquire Property Plant And Equipment",
        "negatedLabel": "Purchases of property and equipment"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r419",
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfRestrictedStockActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfRestrictedStockActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockDividendRatePercentage": {
     "auth_ref": [
      "r367"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage rate used to calculate dividend payments on preferred stock.",
        "label": "Preferred Stock Dividend Rate Percentage",
        "terseLabel": "Percentage of dividends paid in cash"
       }
      }
     },
     "localname": "PreferredStockDividendRatePercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PreferredStockDividendsIncomeStatementImpact": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareComputationOfBasicAndDilutedNetLossIncomePerShareAttributableToCommonStockholdersDetails": {
       "order": 10040.0,
       "parentTag": "meg_NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted",
       "weight": -1.0
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10040.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of preferred stock dividends that is an adjustment to net income apportioned to common stockholders.",
        "label": "Preferred Stock Dividends Income Statement Impact",
        "negatedLabel": "CONVERTIBLE AND REDEEMABLE SERIES A-2 PREFERRED STOCK DIVIDEND",
        "negatedTerseLabel": "Convertible and redeemable series A-2 preferred stock dividend"
       }
      }
     },
     "localname": "PreferredStockDividendsIncomeStatementImpact",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareComputationOfBasicAndDilutedNetLossIncomePerShareAttributableToCommonStockholdersDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "auth_ref": [
      "r20",
      "r47",
      "r48"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePrepaidAndOtherCurrentAssetsScheduleOfPrepaidAndOtherCurrentAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10350.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense And Other Assets Current",
        "terseLabel": "Prepaid and other current assets",
        "totalLabel": "Prepaid and other current assets"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePrepaidAndOtherCurrentAssetsScheduleOfPrepaidAndOtherCurrentAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseCurrent": {
     "auth_ref": [
      "r18",
      "r21",
      "r268",
      "r269"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePrepaidAndOtherCurrentAssetsScheduleOfPrepaidAndOtherCurrentAssetsDetails": {
       "order": 10020.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense Current",
        "terseLabel": "Prepaid expenses"
       }
      }
     },
     "localname": "PrepaidExpenseCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePrepaidAndOtherCurrentAssetsScheduleOfPrepaidAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrivatePlacementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A private placement is a direct offering of securities to a limited number of sophisticated investors such as insurance companies, pension funds, mezzanine funds, stock funds and trusts.",
        "label": "Private Placement [Member]",
        "terseLabel": "Private Offering"
       }
      }
     },
     "localname": "PrivatePlacementMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProceedsFromInsuranceSettlementInvestingActivities": {
     "auth_ref": [
      "r99",
      "r111"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10190.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow for proceeds from settlement of insurance claim, classified as investing activities. Excludes insurance settlement classified as operating activities.",
        "label": "Proceeds From Insurance Settlement Investing Activities",
        "terseLabel": "Proceeds from property insurance"
       }
      }
     },
     "localname": "ProceedsFromInsuranceSettlementInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceInitialPublicOffering": {
     "auth_ref": [
      "r102"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10100.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the amount received from entity's first offering of stock to the public.",
        "label": "Proceeds From Issuance Initial Public Offering",
        "terseLabel": "Proceeds from issuance of common stock in public offerings, net of issuance costs"
       }
      }
     },
     "localname": "ProceedsFromIssuanceInitialPublicOffering",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r102"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds From Issuance Of Common Stock",
        "verboseLabel": "Net proceeds from sale of common stock"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfPreferredStockPreferenceStockAndWarrants": {
     "auth_ref": [
      "r102"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10150.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from issuance of capital stock which provides for a specific dividend that is paid to the shareholders before any dividends to common stockholder, which takes precedence over common stockholders in the event of liquidation and from issuance of rights to purchase common shares at a predetermined price.",
        "label": "Proceeds From Issuance Of Preferred Stock Preference Stock And Warrants",
        "terseLabel": "Issuance of series A-1 and series A-2 preferred stock and warrant, net of issuance costs"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfPreferredStockPreferenceStockAndWarrants",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOrSaleOfEquity": {
     "auth_ref": [
      "r102"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the issuance of common stock, preferred stock, treasury stock, stock options, and other types of equity.",
        "label": "Proceeds From Issuance Or Sale Of Equity",
        "terseLabel": "Proceeds from the Series A-2 and Warrant"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOrSaleOfEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLinesOfCredit": {
     "auth_ref": [
      "r103",
      "r130"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10040.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from contractual arrangement with the lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.",
        "label": "Proceeds From Lines Of Credit",
        "terseLabel": "Proceeds from line of credit"
       }
      }
     },
     "localname": "ProceedsFromLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLongTermLinesOfCredit": {
     "auth_ref": [
      "r103"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10060.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer.",
        "label": "Proceeds From Long Term Lines Of Credit",
        "terseLabel": "Proceeds from term loans"
       }
      }
     },
     "localname": "ProceedsFromLongTermLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10210.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.",
        "label": "Proceeds From Sale Of Property Plant And Equipment",
        "terseLabel": "Proceeds received from the sale of property and equipment"
       }
      }
     },
     "localname": "ProceedsFromSaleOfPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "auth_ref": [
      "r102",
      "r453"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10140.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement.",
        "label": "Proceeds From Stock Options Exercised",
        "terseLabel": "Proceeds from issuance of common stock for exercised stock options"
       }
      }
     },
     "localname": "ProceedsFromStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r14",
      "r77",
      "r79",
      "r85",
      "r110",
      "r131",
      "r145",
      "r156",
      "r157",
      "r209",
      "r221",
      "r225",
      "r228",
      "r231",
      "r248",
      "r308",
      "r309",
      "r310",
      "r313",
      "r314",
      "r315",
      "r317",
      "r319",
      "r321",
      "r322",
      "r543",
      "r546",
      "r547",
      "r551",
      "r552",
      "r581",
      "r599",
      "r697"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10260.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Profit Loss",
        "terseLabel": "Net loss",
        "totalLabel": "Net loss"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property Plant And Equipment [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r51",
      "r290"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Property Plant And Equipment By Type [Axis]",
        "terseLabel": "Long-Lived Tangible Asset"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r294",
      "r745",
      "r746",
      "r747"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property Plant And Equipment Disclosure [Text Block]",
        "terseLabel": "Property and Equipment, Net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r50",
      "r288"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails": {
       "order": 10710.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property Plant And Equipment Gross",
        "terseLabel": "Property and equipment, gross"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Property Plant And Equipment [Line Items]",
        "terseLabel": "Property Plant And Equipment [Line Items]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r29",
      "r30",
      "r290",
      "r658",
      "r698",
      "r710"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10250.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property Plant And Equipment Net",
        "terseLabel": "Property and equipment\u2014net",
        "totalLabel": "Total property and equipment\u2014net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r29",
      "r290"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property Plant And Equipment [Text Block]",
        "terseLabel": "Property and Equipment, Net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r29",
      "r288"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Property Plant And Equipment Type [Domain]",
        "terseLabel": "Long-Lived Tangible Asset"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
        "label": "Property Plant And Equipment Useful Life",
        "terseLabel": "Estimated Useful Life"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ProvisionForDoubtfulAccounts": {
     "auth_ref": [
      "r90",
      "r263"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10270.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (reversal of expense) for expected credit loss on accounts receivable.",
        "label": "Provision For Doubtful Accounts",
        "terseLabel": "Provision for bad debt",
        "verboseLabel": "Bad Debt Expense"
       }
      }
     },
     "localname": "ProvisionForDoubtfulAccounts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfAllowanceForDoubtfulAccountsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PutOptionMember": {
     "auth_ref": [
      "r736",
      "r737",
      "r738",
      "r739",
      "r740",
      "r741"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A financial contract between two parties, the buyer and the seller (writer) of the option, where the buyer has the right but not the obligation to sell a commodity or financial instrument (the underlying instrument) to the seller (writer) at a certain time for a certain price (the strike price). The seller (writer) has the obligation to purchase the underlying asset at that strike price, if the buyer exercises the option.",
        "label": "Put Option [Member]",
        "terseLabel": "Put Option"
       }
      }
     },
     "localname": "PutOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFinancialInstrumentsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReceivablesFromStockholderMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of equity that is due from owners or affiliates of the reporting entity (including due from officers or directors) resulting from the sale of stock before the cash payment is received.",
        "label": "Receivables From Stockholder [Member]",
        "terseLabel": "Notes Receivable from Stockholders"
       }
      }
     },
     "localname": "ReceivablesFromStockholderMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock": {
     "auth_ref": [
      "r221",
      "r225"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation of profit (loss) from reportable segments to the consolidated income (loss) before income tax expense (benefit) and discontinued operations. Includes, but is not limited to, reconciliation after income tax if income tax is allocated to the reportable segment.",
        "label": "Reconciliation Of Operating Profit Loss From Segments To Consolidated [Text Block]",
        "terseLabel": "Reconciliation of Segment Measure to Loss Before Benefit from Income Taxes"
       }
      }
     },
     "localname": "ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RedeemablePreferredStockDividends": {
     "auth_ref": [
      "r162",
      "r373",
      "r380"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareComputationOfBasicAndDilutedNetLossIncomePerShareAttributableToCommonStockholdersDetails": {
       "order": 10030.0,
       "parentTag": "meg_NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted",
       "weight": -1.0
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10030.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Dividends paid to preferred stock holders that is redeemable solely at the option of the issuer.",
        "label": "Redeemable Preferred Stock Dividends",
        "negatedLabel": "REDEEMABLE SERIES A-1 PREFERRED STOCK DEEMED DIVIDEND",
        "negatedTerseLabel": "Redeemable series A-1 preferred stock deemed dividend"
       }
      }
     },
     "localname": "RedeemablePreferredStockDividends",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareComputationOfBasicAndDilutedNetLossIncomePerShareAttributableToCommonStockholdersDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Related Party Transaction [Line Items]",
        "terseLabel": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r648",
      "r649",
      "r650",
      "r654",
      "r655"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Related-Party Transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfLinesOfCredit": {
     "auth_ref": [
      "r105",
      "r130"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10050.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for payment of an obligation from a lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.",
        "label": "Repayments Of Lines Of Credit",
        "negatedLabel": "Payments on line of credit"
       }
      }
     },
     "localname": "RepaymentsOfLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfLongTermLinesOfCredit": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10070.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for the settlement of obligation drawn from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer.",
        "label": "Repayments Of Long Term Lines Of Credit",
        "negatedLabel": "Repayment of term loans"
       }
      }
     },
     "localname": "RepaymentsOfLongTermLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCash": {
     "auth_ref": [
      "r124",
      "r683",
      "r706"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10320.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
        "label": "Restricted Cash",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "localname": "RestrictedCash",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedStockMember": {
     "auth_ref": [
      "r176"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock including a provision that prohibits sale or substantive sale of an equity instrument for a specified period of time or until specified performance conditions are met.",
        "label": "Restricted Stock [Member]",
        "terseLabel": "Restricted Stock"
       }
      }
     },
     "localname": "RestrictedStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareEquitySharesExcludedFromCalculationOfDilutedNetLossPerShareAttributableToCommonStockholdersDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfRestrictedStockActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedStockUnitsRSUMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Restricted Stock Units R S U [Member]",
        "terseLabel": "RSUs"
       }
      }
     },
     "localname": "RestrictedStockUnitsRSUMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r42",
      "r380",
      "r462",
      "r658",
      "r708",
      "r729",
      "r734"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10070.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings Accumulated Deficit",
        "terseLabel": "Accumulated deficit"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r2",
      "r139",
      "r140",
      "r141",
      "r146",
      "r155",
      "r157",
      "r256",
      "r458",
      "r459",
      "r460",
      "r496",
      "r497",
      "r579",
      "r725",
      "r727"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Accumulated Deficit"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax": {
     "auth_ref": [
      "r200",
      "r201",
      "r220",
      "r226",
      "r227",
      "r233",
      "r234",
      "r236",
      "r389",
      "r390",
      "r673"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10130.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.",
        "label": "Revenue From Contract With Customer Excluding Assessed Tax",
        "terseLabel": "REVENUES",
        "verboseLabel": "Segment Revenues"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerExcludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerMember": {
     "auth_ref": [
      "r190",
      "r236"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenue from satisfaction of performance obligation by transferring promised product and service to customer, when it serves as benchmark in concentration of risk calculation.",
        "label": "Revenue From Contract With Customer [Member]",
        "terseLabel": "Revenue"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "auth_ref": [
      "r126",
      "r127"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources.",
        "label": "Revenue Recognition Policy [Text Block]",
        "terseLabel": "Revenue Recognition"
       }
      }
     },
     "localname": "RevenueRecognitionPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligation": {
     "auth_ref": [
      "r387"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transaction price allocated to performance obligation that has not been recognized as revenue.",
        "label": "Revenue Remaining Performance Obligation",
        "terseLabel": "Revenue remaining performance obligations"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Revenue Remaining Performance Obligation Expected Timing Of Satisfaction [Line Items]",
        "terseLabel": "Revenue Remaining Performance Obligation Expected Timing Of Satisfaction [Line Items]"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails1"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1": {
     "auth_ref": [
      "r388"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period in which remaining performance obligation is expected to be recognized as revenue, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Revenue Remaining Performance Obligation Expected Timing Of Satisfaction Period1",
        "terseLabel": "Revenue remaining performance obligations, satisfaction period"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails1"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis": {
     "auth_ref": [
      "r388"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Start date of time band for expected timing of satisfaction of remaining performance obligation, in YYYY-MM-DD format.",
        "label": "Revenue Remaining Performance Obligation Expected Timing Of Satisfaction Start Date [Axis]",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails1"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about expected timing for satisfying remaining performance obligation.",
        "label": "Revenue Remaining Performance Obligation Expected Timing Of Satisfaction [Table]",
        "terseLabel": "Revenue Remaining Performance Obligation Expected Timing Of Satisfaction [Table]"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails1"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevolvingCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount.",
        "label": "Revolving Credit Facility [Member]",
        "terseLabel": "Revolving Line of Credit"
       }
      }
     },
     "localname": "RevolvingCreditFacilityMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForFinanceLeaseLiability": {
     "auth_ref": [
      "r640",
      "r645"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for finance lease liability.",
        "label": "Right Of Use Asset Obtained In Exchange For Finance Lease Liability",
        "terseLabel": "Finance leases"
       }
      }
     },
     "localname": "RightOfUseAssetObtainedInExchangeForFinanceLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfSupplementalCashFlowInformationRelatedToLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability": {
     "auth_ref": [
      "r640",
      "r645"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for operating lease liability.",
        "label": "Right Of Use Asset Obtained In Exchange For Operating Lease Liability",
        "terseLabel": "Operating leases"
       }
      }
     },
     "localname": "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfSupplementalCashFlowInformationRelatedToLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
        "label": "Sale Of Stock Name Of Transaction [Domain]",
        "terseLabel": "Sale of Stock"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SaleOfStockPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction.",
        "label": "Sale Of Stock Price Per Share",
        "terseLabel": "SARs Stock Price Performance Hurdle"
       }
      }
     },
     "localname": "SaleOfStockPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfPerformanceHurdlesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable": {
     "auth_ref": [
      "r69"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule itemizing specific types of trade accounts and notes receivable, and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule Of Accounts Notes Loans And Financing Receivable [Table]",
        "terseLabel": "Schedule Of Accounts Notes Loans And Financing Receivable [Table]"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock": {
     "auth_ref": [
      "r69"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule Of Accounts Notes Loans And Financing Receivable [Text Block]",
        "terseLabel": "Schedule of Accounts Receivable, Net"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the (a) carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business (accounts payable); (b) other payables; and (c) accrued liabilities. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). An alternative caption includes accrued expenses.",
        "label": "Schedule Of Accounts Payable And Accrued Liabilities Table [Text Block]",
        "terseLabel": "Summary of Accounts Payable and Other Accrued Liabilities"
       }
      }
     },
     "localname": "ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccountsPayableAndOtherAccruedLiabilitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of accrued liabilities.",
        "label": "Schedule Of Accrued Liabilities Table [Text Block]",
        "terseLabel": "Schedule of Accrued Payroll and Benefits"
       }
      }
     },
     "localname": "ScheduleOfAccruedLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureAccruedPayrollAndBenefitsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable": {
     "auth_ref": [
      "r176"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule for securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by Antidilutive Securities.",
        "label": "Schedule Of Antidilutive Securities Excluded From Computation Of Earnings Per Share [Table]",
        "terseLabel": "Schedule Of Antidilutive Securities Excluded From Computation Of Earnings Per Share [Table]"
       }
      }
     },
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareEquitySharesExcludedFromCalculationOfDilutedNetLossPerShareAttributableToCommonStockholdersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock": {
     "auth_ref": [
      "r176"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities.",
        "label": "Schedule Of Antidilutive Securities Excluded From Computation Of Earnings Per Share [Text Block]",
        "terseLabel": "Equity Shares Excluded from Calculation of Diluted Net Loss per Share Attributable to Common Stockholders"
       }
      }
     },
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "auth_ref": [
      "r519",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting each material business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.",
        "label": "Schedule Of Business Acquisitions By Acquisition [Table]",
        "terseLabel": "Schedule Of Business Acquisitions By Acquisition [Table]"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsTables",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock": {
     "auth_ref": [
      "r519",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of a material business combination completed during the period, including background, timing, and recognized assets and liabilities. This table  does not include leveraged buyouts.",
        "label": "Schedule Of Business Acquisitions By Acquisition [Text Block]",
        "terseLabel": "Summary of Elements of Purchase Price of Acquisitions"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsTables",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock": {
     "auth_ref": [
      "r449"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of cost recognized for award under share-based payment arrangement by plan. Includes, but is not limited to, related tax benefit.",
        "label": "Schedule Of Compensation Cost For Share Based Payment Arrangements Allocation Of Share Based Compensation Costs By Plan Table [Text Block]",
        "terseLabel": "Schedule of Stock Compensation Expense"
       }
      }
     },
     "localname": "ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock": {
     "auth_ref": [
      "r493"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years.",
        "label": "Schedule Of Components Of Income Tax Expense Benefit Table [Text Block]",
        "terseLabel": "Summary of Income Tax Expense (Benefit)"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtInstrumentsTextBlock": {
     "auth_ref": [
      "r61",
      "r137",
      "r352",
      "r354",
      "r374",
      "r377",
      "r378",
      "r379",
      "r621",
      "r622",
      "r625",
      "r701"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of long-debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the entity, if longer.",
        "label": "Schedule Of Debt Instruments [Text Block]",
        "terseLabel": "Schedule of Applicable Percentages"
       }
      }
     },
     "localname": "ScheduleOfDebtInstrumentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule Of Debt Table [Text Block]",
        "terseLabel": "Schedule of Debt"
       }
      }
     },
     "localname": "ScheduleOfDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r485"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets.",
        "label": "Schedule Of Deferred Tax Assets And Liabilities Table [Text Block]",
        "terseLabel": "Schedule of Significant Components of Deferred Tax Assets and Liabilities"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r175"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule Of Earnings Per Share Basic And Diluted Table [Text Block]",
        "terseLabel": "Computation of Basic and Diluted Net (Loss) Income Per Share Attributable to Common Stockholders"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock": {
     "auth_ref": [
      "r475"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation using percentage or dollar amounts of the reported amount of income tax expense attributable to continuing operations for the year to the amount of income tax expense that would result from applying domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Schedule Of Effective Income Tax Rate Reconciliation Table [Text Block]",
        "terseLabel": "Reconciliation of Federal Statutory Income Tax Rate to Effective Income Tax Rate"
       }
      }
     },
     "localname": "ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTextBlock": {
     "auth_ref": [
      "r276"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of finite-lived intangible assets acquired as part of a business combination or through an asset purchase, by major class and in total, including the value of the asset acquired, any significant residual value (the expected value of the asset at the end of its useful life) and the weighted-average amortization period.",
        "label": "Schedule Of Finite Lived Intangible Assets Acquired As Part Of Business Combination [Text Block]",
        "terseLabel": "Weighted Average Useful Lives for Acquired Identifiable Intangible Assets"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable": {
     "auth_ref": [
      "r276",
      "r279",
      "r674"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Schedule Of Finite Lived Intangible Assets [Table]",
        "terseLabel": "Schedule Of Finite Lived Intangible Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock": {
     "auth_ref": [
      "r276",
      "r279"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance with a finite life, by either major class or business segment.",
        "label": "Schedule Of Finite Lived Intangible Assets Table [Text Block]",
        "terseLabel": "Schedule of Amounts Related to Finite-Lived Intangible Assets"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfGoodwillTable": {
     "auth_ref": [
      "r273",
      "r274"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of goodwill and the changes during the year due to acquisition, sale, impairment or for other reasons.",
        "label": "Schedule Of Goodwill [Table]",
        "terseLabel": "Schedule Of Goodwill [Table]"
       }
      }
     },
     "localname": "ScheduleOfGoodwillTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToGoodwillDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfGoodwillTextBlock": {
     "auth_ref": [
      "r273",
      "r274"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of goodwill by reportable segment and in total which includes a rollforward schedule.",
        "label": "Schedule Of Goodwill [Text Block]",
        "terseLabel": "Schedule of Amounts Related to Goodwill"
       }
      }
     },
     "localname": "ScheduleOfGoodwillTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock": {
     "auth_ref": [
      "r132"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of income before income tax between domestic and foreign jurisdictions.",
        "label": "Schedule Of Income Before Income Tax Domestic And Foreign Table [Text Block]",
        "terseLabel": "Summary of Geographical Breakdown of Income Before Provision for (Loss) Income Taxes"
       }
      }
     },
     "localname": "ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "auth_ref": [
      "r305"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt.",
        "label": "Schedule Of Maturities Of Long Term Debt Table [Text Block]",
        "terseLabel": "Schedule of Aggregate Annual Maturities of Long-Term Debt"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r51",
      "r290"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Schedule Of Property Plant And Equipment [Table]",
        "terseLabel": "Schedule Of Property Plant And Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock": {
     "auth_ref": [
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amounts recognized as of the acquisition date for each major class of assets acquired and liabilities assumed. May include but not limited to the following: (a) acquired receivables; (b) contingencies recognized at the acquisition date; and (c) the fair value of noncontrolling interests in the acquiree.",
        "label": "Schedule Of Recognized Identified Assets Acquired And Liabilities Assumed Table [Text Block]",
        "terseLabel": "Summary of Purchase Price Attributable to Acquisitions"
       }
      }
     },
     "localname": "ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r651",
      "r653"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule Of Related Party Transactions By Related Party [Table]",
        "terseLabel": "Schedule Of Related Party Transactions By Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "auth_ref": [
      "r209",
      "r212",
      "r224",
      "r273"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table disclosing the profit or loss and total assets for each reportable segment of the entity. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule Of Segment Reporting Information By Segment [Table]",
        "terseLabel": "Schedule Of Segment Reporting Information By Segment [Table]"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "auth_ref": [
      "r209",
      "r212",
      "r224",
      "r273"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule Of Segment Reporting Information By Segment [Text Block]",
        "terseLabel": "Components of Segment Revenues and Adjusted EBITDA"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r419",
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table]",
        "terseLabel": "Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfRestrictedStockActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfPerformanceHurdlesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r426",
      "r439",
      "r441"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
        "label": "Schedule Of Share Based Compensation Stock Options Activity Table [Text Block]",
        "terseLabel": "Summary of Stock Option Activity"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock": {
     "auth_ref": [
      "r443"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.",
        "label": "Schedule Of Share Based Payment Award Stock Options Valuation Assumptions Table [Text Block]",
        "terseLabel": "Summary of Weighted Average Assumptions Used in Black-Sholes Option-pricing Model"
       }
      }
     },
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "auth_ref": [
      "r64",
      "r129",
      "r182",
      "r183",
      "r361",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule detailing information related to equity by class of stock. Class of stock includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. It also includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity.",
        "label": "Schedule Of Stock By Class [Table]",
        "terseLabel": "Schedule Of Stock By Class [Table]"
       }
      }
     },
     "localname": "ScheduleOfStockByClassTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "auth_ref": [
      "r279"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets.",
        "label": "Scheduleof Finite Lived Intangible Assets Future Amortization Expense Table [Text Block]",
        "terseLabel": "Schedule of Future Amortization Expense"
       }
      }
     },
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentDomain": {
     "auth_ref": [
      "r196",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r210",
      "r211",
      "r220",
      "r221",
      "r222",
      "r223",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r231",
      "r236",
      "r296",
      "r297",
      "r719"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Segment [Domain]",
        "terseLabel": "Segments"
       }
      }
     },
     "localname": "SegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToGoodwillDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentReportingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Abstract]"
       }
      }
     },
     "localname": "SegmentReportingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "auth_ref": [
      "r196",
      "r198",
      "r199",
      "r209",
      "r213",
      "r225",
      "r229",
      "r230",
      "r231",
      "r232",
      "r233",
      "r235",
      "r236",
      "r237"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.",
        "label": "Segment Reporting Disclosure [Text Block]",
        "terseLabel": "Segment Information"
       }
      }
     },
     "localname": "SegmentReportingDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Segment Reporting Information [Line Items]",
        "terseLabel": "Segment Reporting Information [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingInformationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingPolicyPolicyTextBlock": {
     "auth_ref": [
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r219",
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for segment reporting.",
        "label": "Segment Reporting Policy Policy [Text Block]",
        "terseLabel": "Segment Reporting"
       }
      }
     },
     "localname": "SegmentReportingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SellingGeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10150.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses. Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products. Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges. General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc.",
        "label": "Selling General And Administrative Expense",
        "terseLabel": "SELLING, GENERAL AND ADMINISTRATIVE EXPENSE"
       }
      }
     },
     "localname": "SellingGeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SellingGeneralAndAdministrativeExpensesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing selling, general and administrative expense.",
        "label": "Selling General And Administrative Expenses [Member]",
        "terseLabel": "Selling, General and Administrative Expenses",
        "verboseLabel": "Selling, General and Administrative Expenses"
       }
      }
     },
     "localname": "SellingGeneralAndAdministrativeExpensesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDefinedContributionPlanAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock": {
     "auth_ref": [
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for inclusion of significant items in the selling, general and administrative (or similar) expense report caption.",
        "label": "Selling General And Administrative Expenses Policy [Text Block]",
        "terseLabel": "Selling, General and Administrative Expenses"
       }
      }
     },
     "localname": "SellingGeneralAndAdministrativeExpensesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r115"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails": {
       "order": 10050.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10300.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share Based Compensation",
        "negatedLabel": "Stock-based compensation",
        "terseLabel": "Stock-based compensation expense"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationReconciliationOfSegmentMeasureToLossBeforeBenefitFromIncomeTaxesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r421"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1",
        "terseLabel": "Shares of vested over period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDescription": {
     "auth_ref": [
      "r417",
      "r420"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of terms of share-based payment arrangement. Includes, but is not limited to, type of award or grantee and reason for issuance.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Description",
        "terseLabel": "Share based, description"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardDescription",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r438"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeitures Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted Average Grant Date Fair Value per Share Forfeited/ cancelled"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period",
        "terseLabel": "Shares, granted",
        "verboseLabel": "Restricted shares, net"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted Average Grant Date Fair Value per Share Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r434"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Weighted Average Grant Date Fair Value per Share Ending Balance",
        "periodStartLabel": "Weighted Average Grant Date Fair Value per Share Beginning Balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Weighted Average Grant Date Fair Value Roll Forward",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPeriodIncreaseDecrease": {
     "auth_ref": [
      "r435"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net total number of shares (or other type of equity) under an equity-based award plan, other than a stock option plan, that were granted, vested and forfeited during the reporting period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Period Increase Decrease",
        "terseLabel": "Total (in thousands)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfRestrictedStockActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r437"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period",
        "terseLabel": "Restricted shares became fully vested and released as common stock"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agreed-upon price for the exchange of the underlying asset relating to the share-based payment award.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Exercise Price",
        "terseLabel": "Exercise price"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate": {
     "auth_ref": [
      "r446"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividend Rate",
        "terseLabel": "Dividend rate"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "auth_ref": [
      "r447"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Risk Free Interest Rate",
        "terseLabel": "Risk- free interest rate"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Risk Free Interest Rate Maximum",
        "terseLabel": "Risk- free interest rate, maximum"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate": {
     "auth_ref": [
      "r445"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate of weighted-average expected volatility for award under share-based payment arrangement.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Weighted Average Volatility Rate",
        "terseLabel": "Expected volatility"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award [Line Items]",
        "terseLabel": "Share Based Compensation Arrangement By Share Based Payment Award [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfRestrictedStockActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfPerformanceHurdlesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsForfeitures": {
     "auth_ref": [
      "r432"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares under non-option equity instrument agreements that were cancelled as a result of occurrence of a terminating event.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments Forfeitures",
        "terseLabel": "Restricted shares forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsForfeitures",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber": {
     "auth_ref": [
      "r427",
      "r429"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of equity instruments other than options outstanding, including both vested and non-vested instruments.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments Outstanding Number",
        "terseLabel": "Restricted shares outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized": {
     "auth_ref": [
      "r422"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares authorized for issuance under share-based payment arrangement.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Number Of Shares Authorized",
        "terseLabel": "Shares authorized to be issued"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "auth_ref": [
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Number Of Shares Available For Grant",
        "terseLabel": "Shares available for grant"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Additional Disclosures [Abstract]",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "auth_ref": [
      "r430"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Exercisable Number",
        "terseLabel": "Options to Purchase Common Stock, Exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "auth_ref": [
      "r430"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Exercisable Weighted Average Exercise Price",
        "terseLabel": "Weighted-Average Exercise Price per Share, Exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue": {
     "auth_ref": [
      "r440"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Exercises In Period Total Intrinsic Value",
        "terseLabel": "Aggregate Intrinsic Value of In-The-Money Options Exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod": {
     "auth_ref": [
      "r433"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Expirations In Period",
        "negatedLabel": "Options to Purchase Common Stock Expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod": {
     "auth_ref": [
      "r432"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Forfeitures In Period",
        "negatedLabel": "Options to Purchase Common Stock Forfeited/cancelled"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross number of share options (or share units) granted during the period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Grants In Period Gross",
        "terseLabel": "Options to Purchase Common Stock Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "auth_ref": [
      "r452"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Intrinsic Value",
        "periodEndLabel": "Aggregate Intrinsic Value of In-The-Money Options Outstanding",
        "periodStartLabel": "Aggregate Intrinsic Value of In-The-Money Options Outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r428",
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Number",
        "periodEndLabel": "Options to Purchase Common Stock Outstanding Ending Balance",
        "periodStartLabel": "Options to Purchase Common Stock Outstanding Beginning Balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Roll Forward",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r427"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Weighted Average Exercise Price",
        "periodEndLabel": "Weighted-Average Exercise Price per Share Ending Balance",
        "periodStartLabel": "Weighted-Average Exercise Price per Share Beginning Balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Weighted Average Exercise Price Rollforward",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue": {
     "auth_ref": [
      "r441"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which current fair value of underlying stock exceeds exercise price of fully vested and expected to vest options outstanding. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Vested And Expected To Vest Outstanding Aggregate Intrinsic Value",
        "terseLabel": "Aggregate Intrinsic Value of In-The-Money Options vested and expected to vest"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber": {
     "auth_ref": [
      "r442"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of fully vested and expected to vest options outstanding that can be converted into shares under option plan. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Vested And Expected To Vest Outstanding Number",
        "terseLabel": "Options to Purchase Common Stock Options vested and expected to vest"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r442"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average exercise price, at which grantee can acquire shares reserved for issuance, for fully vested and expected to vest options outstanding. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Vested And Expected To Vest Outstanding Weighted Average Exercise Price",
        "terseLabel": "Weighted-Average Exercise Price per Share Options vested and expected to vest"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r417",
      "r423"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfRestrictedStockActivityDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfPerformanceHurdlesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
        "label": "Share Based Compensation Arrangements By Share Based Payment Award Options Exercises In Period Weighted Average Exercise Price",
        "terseLabel": "Weighted-Average Exercise Price per Share Exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options of the plan that expired.",
        "label": "Share Based Compensation Arrangements By Share Based Payment Award Options Expirations In Period Weighted Average Exercise Price",
        "terseLabel": "Weighted-Average Exercise Price per Share Expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated.",
        "label": "Share Based Compensation Arrangements By Share Based Payment Award Options Forfeitures In Period Weighted Average Exercise Price",
        "terseLabel": "Weighted-Average Exercise Price per Share Forfeited/cancelled"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options.",
        "label": "Share Based Compensation Arrangements By Share Based Payment Award Options Grants In Period Weighted Average Exercise Price",
        "terseLabel": "Weighted-Average Exercise Price per Share Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price of a single share of a number of saleable stocks of a company.",
        "label": "Share Price",
        "positiveTerseLabel": "Common stock value (per share)",
        "terseLabel": "Share price"
       }
      }
     },
     "localname": "SharePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage": {
     "auth_ref": [
      "r421"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of vesting of award under share-based payment arrangement.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Award Vesting Rights Percentage",
        "terseLabel": "Shares, vesting rights, percentage"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "auth_ref": [
      "r444",
      "r463"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Fair Value Assumptions Expected Term1",
        "terseLabel": "Expected life (years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfWeightedAverageAssumptionsUsedInBlackSholesOptionPricingModelDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "auth_ref": [
      "r452"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Options Exercisable Intrinsic Value1",
        "terseLabel": "Aggregate Intrinsic Value of In-The-Money Options Exercisable"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Options Exercisable Weighted Average Remaining Contractual Term1",
        "terseLabel": "Weighted Average Remaining Contract Life, Exercisable"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r442"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Options Outstanding Weighted Average Remaining Contractual Term2",
        "terseLabel": "Weighted Average Remaining Contract Life (in Years) Outstanding"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r442"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for fully vested and expected to vest options outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Options Vested And Expected To Vest Outstanding Weighted Average Remaining Contractual Term1",
        "terseLabel": "Weighted Average Remaining Contract Life (in Years) Outstanding"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1": {
     "auth_ref": [
      "r425"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of options vested. Excludes equity instruments other than options, for example, but not limited to, share units, stock appreciation rights, restricted stock.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Options Vested In Period Fair Value1",
        "terseLabel": "Fair value vested in period"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareholdersEquityAndShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r383",
      "r467"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity and share-based payment arrangement. Includes, but is not limited to, disclosure of policy and terms of share-based payment arrangement, deferred compensation arrangement, and employee stock purchase plan (ESPP).",
        "label": "Shareholders Equity And Share Based Payments [Text Block]",
        "terseLabel": "Stockholders' Equity (Deficit)"
       }
      }
     },
     "localname": "ShareholdersEquityAndShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficit"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury.",
        "label": "Shares Outstanding",
        "periodEndLabel": "Ending balance, shares",
        "periodStartLabel": "Beginning balance, shares"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "auth_ref": [
      "r56"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of short-term debt arrangement.",
        "label": "Short Term Debt Type [Axis]",
        "terseLabel": "Short-term Debt, Type"
       }
      }
     },
     "localname": "ShortTermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "auth_ref": [
      "r53"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.",
        "label": "Short Term Debt Type [Domain]",
        "terseLabel": "Short-term Debt, Type"
       }
      }
     },
     "localname": "ShortTermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r125",
      "r138"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Significant Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SoftwareDevelopmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Internally developed software for sale, licensing or long-term internal use.",
        "label": "Software Development [Member]",
        "terseLabel": "External Proprietary Software"
       }
      }
     },
     "localname": "SoftwareDevelopmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StateAndLocalJurisdictionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of a state or local government entitled to levy and collect income taxes from the entity.",
        "label": "State And Local Jurisdiction [Member]",
        "terseLabel": "State and Local Jurisdiction [Member]"
       }
      }
     },
     "localname": "StateAndLocalJurisdictionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "auth_ref": [
      "r11",
      "r196",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r210",
      "r211",
      "r220",
      "r221",
      "r222",
      "r223",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r231",
      "r236",
      "r273",
      "r292",
      "r296",
      "r297",
      "r719"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business segments.",
        "label": "Statement Business Segments [Axis]",
        "terseLabel": "Segments"
       }
      }
     },
     "localname": "StatementBusinessSegmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToGoodwillDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSegmentInformationComponentsOfSegmentRevenuesAndAdjustedEBITDADetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r37",
      "r38",
      "r39",
      "r129",
      "r131",
      "r164",
      "r165",
      "r170",
      "r173",
      "r175",
      "r182",
      "r183",
      "r184",
      "r248",
      "r308",
      "r313",
      "r314",
      "r315",
      "r321",
      "r322",
      "r366",
      "r367",
      "r370",
      "r371",
      "r373",
      "r599",
      "r758"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Statement Class Of Stock [Axis]",
        "terseLabel": "Class of Stock"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r2",
      "r67",
      "r83",
      "r84",
      "r85",
      "r139",
      "r140",
      "r141",
      "r146",
      "r155",
      "r157",
      "r181",
      "r256",
      "r373",
      "r380",
      "r458",
      "r459",
      "r460",
      "r496",
      "r497",
      "r579",
      "r613",
      "r614",
      "r615",
      "r616",
      "r617",
      "r618",
      "r725",
      "r726",
      "r727",
      "r765"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Statement Equity Components [Axis]",
        "terseLabel": "Equity Components"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfSupplementalUnauditedProFormaInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Stockholders Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r139",
      "r140",
      "r141",
      "r181",
      "r673"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfSupplementalUnauditedProFormaInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitTables",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockAppreciationRightsSARSMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right to receive cash or shares equal to appreciation of predetermined number of grantor's shares during predetermined time period.",
        "label": "Stock Appreciation Rights S A R S [Member]",
        "terseLabel": "Stock Appreciation Rights (SARs)"
       }
      }
     },
     "localname": "StockAppreciationRightsSARSMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareEquitySharesExcludedFromCalculationOfDilutedNetLossPerShareAttributableToCommonStockholdersDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfStockCompensationExpenseDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesAcquisitions": {
     "auth_ref": [
      "r38",
      "r39",
      "r380"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued during the period pursuant to acquisitions.",
        "label": "Stock Issued During Period Shares Acquisitions",
        "terseLabel": "Number of common stock shares issued in connection with business acquisition"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r38",
      "r39",
      "r373",
      "r380"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period Shares New Issues",
        "terseLabel": "Common stock issued, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross": {
     "auth_ref": [
      "r373",
      "r380"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of shares issued during the period, including shares forfeited, as a result of Restricted Stock Awards.",
        "label": "Stock Issued During Period Shares Restricted Stock Award Gross",
        "terseLabel": "Shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesRestrictedStockAwardGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfRestrictedStockActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r38",
      "r39",
      "r373",
      "r380",
      "r431"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share options (or share units) exercised during the current period.",
        "label": "Stock Issued During Period Shares Stock Options Exercised",
        "negatedLabel": "Options to Purchase Common Stock Exercised",
        "verboseLabel": "Exercise of options, Shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueAcquisitions": {
     "auth_ref": [
      "r67",
      "r373",
      "r380"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued pursuant to acquisitions during the period.",
        "label": "Stock Issued During Period Value Acquisitions",
        "terseLabel": "Acquisitions, Total"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r38",
      "r39",
      "r373",
      "r380"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Stock Issued During Period Value New Issues",
        "terseLabel": "Common stock issued, Total"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross": {
     "auth_ref": [
      "r38",
      "r39",
      "r373",
      "r380"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate value of stock related to Restricted Stock Awards issued during the period.",
        "label": "Stock Issued During Period Value Restricted Stock Award Gross",
        "terseLabel": "Restricted shares net, Total"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueRestrictedStockAwardGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "auth_ref": [
      "r67",
      "r373",
      "r380"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued as a result of the exercise of stock options.",
        "label": "Stock Issued During Period Value Stock Options Exercised",
        "terseLabel": "Exercise of options, Total"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRedeemedOrCalledDuringPeriodShares": {
     "auth_ref": [
      "r373"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of stock bought back by the entity at the exercise price or redemption price.",
        "label": "Stock Redeemed Or Called During Period Shares",
        "negatedLabel": "Temporary equity redemption of the series A-1, shares"
       }
      }
     },
     "localname": "StockRedeemedOrCalledDuringPeriodShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRedeemedOrCalledDuringPeriodValue": {
     "auth_ref": [
      "r373"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of stock bought back by the entity at the exercise price or redemption price.",
        "label": "Stock Redeemed Or Called During Period Value",
        "negatedLabel": "Temporary equity redemption of the series A-1"
       }
      }
     },
     "localname": "StockRedeemedOrCalledDuringPeriodValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r39",
      "r44",
      "r45",
      "r131",
      "r243",
      "r248",
      "r599",
      "r658"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10040.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders Equity",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "totalLabel": "Total stockholders\u2019 equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders Equity [Abstract]",
        "terseLabel": "STOCKHOLDERS\u2019 EQUITY:"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
        "label": "Subsequent Event [Line Items]",
        "terseLabel": "Subsequent Event [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsScheduleOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r619",
      "r660"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTable": {
     "auth_ref": [
      "r619",
      "r660"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
        "label": "Subsequent Event [Table]",
        "terseLabel": "Subsequent Event [Table]"
       }
      }
     },
     "localname": "SubsequentEventTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOfTermLoanAmortizationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsScheduleOfElementsOfPurchasePriceOfAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r619",
      "r660"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]",
        "terseLabel": "Subsequent Event Type"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r619",
      "r660"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]",
        "terseLabel": "Subsequent Event Type"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfNumberOfSharesAuthorizedToBeIssuedAndAvailableForGrantParentheticalDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r659",
      "r662"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Subsidiary Sale Of Stock [Axis]",
        "terseLabel": "Sale of Stock"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitSummaryOfIssuedCancelledAndRepurchasedSharesOfCommonStockDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "SUPPLEMENTAL DISCLOSURES OF CASH FLOWS INFORMATION:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_Supplies": {
     "auth_ref": [
      "r19",
      "r21",
      "r267",
      "r269"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePrepaidAndOtherCurrentAssetsScheduleOfPrepaidAndOtherCurrentAssetsDetails": {
       "order": 10030.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration paid in advance for supplies that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Supplies",
        "terseLabel": "Supplies"
       }
      }
     },
     "localname": "Supplies",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePrepaidAndOtherCurrentAssetsScheduleOfPrepaidAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxPeriodAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information about the period subject to enacted tax laws.",
        "label": "Tax Period [Axis]",
        "terseLabel": "Tax Period"
       }
      }
     },
     "localname": "TaxPeriodAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxPeriodDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identified tax period.",
        "label": "Tax Period [Domain]",
        "terseLabel": "Tax Period"
       }
      }
     },
     "localname": "TaxPeriodDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TaxesPayableCurrent": {
     "auth_ref": [
      "r57"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10200.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable for statutory income, sales, use, payroll, excise, real, property and other taxes. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Taxes Payable Current",
        "terseLabel": "Income tax payable"
       }
      }
     },
     "localname": "TaxesPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TechnologyBasedIntangibleAssetsMember": {
     "auth_ref": [
      "r524"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Technology-based intangible assets, including, but not limited to, patented technology, unpatented technology, and developed technology rights.",
        "label": "Technology Based Intangible Assets [Member]",
        "terseLabel": "Acquired Technology"
       }
      }
     },
     "localname": "TechnologyBasedIntangibleAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TemporaryEquityAccretionToRedemptionValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of accretion of temporary equity to its redemption value during the period.",
        "label": "Temporary Equity Accretion To Redemption Value",
        "positiveVerboseLabel": "Accretion of the redeemable series A-1 preferred stock to redeemable value"
       }
      }
     },
     "localname": "TemporaryEquityAccretionToRedemptionValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityAccretionToRedemptionValueAdjustment": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareComputationOfBasicAndDilutedNetLossIncomePerShareAttributableToCommonStockholdersDetails": {
       "order": 10020.0,
       "parentTag": "meg_NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted",
       "weight": -1.0
      },
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS": {
       "order": 10020.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease to net income for accretion of temporary equity to its redemption value to derive net income apportioned to common stockholders.",
        "label": "Temporary Equity Accretion To Redemption Value Adjustment",
        "negatedLabel": "ACCRETION OF REDEEMABLE SERIES A- 1 PREFERRED STOCK",
        "negatedTerseLabel": "Accretion of redeemable series A-1 preferred stock"
       }
      }
     },
     "localname": "TemporaryEquityAccretionToRedemptionValueAdjustment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareComputationOfBasicAndDilutedNetLossIncomePerShareAttributableToCommonStockholdersDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityAggregateAmountOfRedemptionRequirement": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of redemption requirements for each class or type of redeemable stock classified as temporary equity for each of the five years following the latest balance sheet date. The redemption requirement does not constitute an unconditional obligation that will be settled in a variable number of shares constituting a monetary value predominantly indexed to (a) a fixed monetary amount known at inception, (b) an amount inversely correlated with the residual value of the entity, or (c) an amount determined by reference to something other than the fair value of issuer's stock. Does not include mandatorily redeemable stock. The exception is if redemption is required upon liquidation or termination of the reporting entity.",
        "label": "Temporary Equity Aggregate Amount Of Redemption Requirement",
        "terseLabel": "Temporary equity, aggregate amount of redemption requirement",
        "verboseLabel": "Aggregate stated value of stock redeemed"
       }
      }
     },
     "localname": "TemporaryEquityAggregateAmountOfRedemptionRequirement",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityByClassOfStockTable": {
     "auth_ref": [
      "r27",
      "r362"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Table of capital stock that is classified as temporary equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer. This table may include a description by series, value, shares authorized, shares issued and outstanding, redemption price per share and subscription receivable.",
        "label": "Temporary Equity By Class Of Stock [Table]",
        "terseLabel": "Temporary Equity By Class Of Stock [Table]"
       }
      }
     },
     "localname": "TemporaryEquityByClassOfStockTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TemporaryEquityCarryingAmountAttributableToParent": {
     "auth_ref": [
      "r308",
      "r313",
      "r314",
      "r315",
      "r321",
      "r322"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10030.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, attributable to parent, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity Carrying Amount Attributable To Parent",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "REDEEMABLE SERIES PREFERRED STOCK"
       }
      }
     },
     "localname": "TemporaryEquityCarryingAmountAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityDescription": {
     "auth_ref": [
      "r27",
      "r362"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the type or class of security that is classified as temporary equity, including its redemption features (for example, sinking fund, at option of holders, out of future earnings), conversion features, and the rights of holders, if any, in the event of default, including the effect, if any, on junior securities in the event a required dividend, sinking fund, or other redemption payment(s) is not paid. Include also a description of stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity Description",
        "terseLabel": "Temporary equity description"
       }
      }
     },
     "localname": "TemporaryEquityDescription",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TemporaryEquityDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Temporary Equity Disclosure [Abstract]"
       }
      }
     },
     "localname": "TemporaryEquityDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_TemporaryEquityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Temporary Equity [Line Items]",
        "terseLabel": "Temporary Equity [Line Items]"
       }
      }
     },
     "localname": "TemporaryEquityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TemporaryEquityLiquidationPreference": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate liquidation preference (or restrictions) of stock classified as temporary equity that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares. The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity Liquidation Preference",
        "positiveLabel": "Aggregate liquidation preference",
        "terseLabel": "Temporary equity, aggregate liquidation preference"
       }
      }
     },
     "localname": "TemporaryEquityLiquidationPreference",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityLiquidationPreferencePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The per share liquidation preference (or restrictions) of stock classified as temporary equity that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares. The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity Liquidation Preference Per Share",
        "terseLabel": "Temporary equity, liquidation preference per share"
       }
      }
     },
     "localname": "TemporaryEquityLiquidationPreferencePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_TemporaryEquityParOrStatedValuePerShare": {
     "auth_ref": [
      "r27",
      "r362"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount of par value or stated value of stock classified as temporary equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable.",
        "label": "Temporary Equity Par Or Stated Value Per Share",
        "positiveLabel": "Temporary equity, par value",
        "terseLabel": "Temporary equity, par value per share",
        "verboseLabel": "Par value per share"
       }
      }
     },
     "localname": "TemporaryEquityParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_TemporaryEquitySharesAuthorized": {
     "auth_ref": [
      "r36"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of securities classified as temporary equity that are permitted to be issued by an entity's charter and bylaws. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity Shares Authorized",
        "terseLabel": "Temporary equity, shares authorized"
       }
      }
     },
     "localname": "TemporaryEquitySharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TemporaryEquitySharesIssued": {
     "auth_ref": [
      "r36"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of securities classified as temporary equity that have been sold (or granted) to the entity's shareholders. Securities issued include securities outstanding and securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity Shares Issued",
        "terseLabel": "Temporary equity, shares issued",
        "verboseLabel": "Number of shares issued"
       }
      }
     },
     "localname": "TemporaryEquitySharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRedeemableSeriesA1PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TemporaryEquitySharesOutstanding": {
     "auth_ref": [
      "r36"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of securities classified as temporary equity that have been issued and are held by the entity's shareholders. Securities outstanding equals securities issued minus securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity Shares Outstanding",
        "periodEndLabel": "Ending balance, shares",
        "periodStartLabel": "Beginning balance, shares",
        "terseLabel": "Temporary equity, shares outstanding"
       }
      }
     },
     "localname": "TemporaryEquitySharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TemporaryEquityStockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of new stock classified as temporary equity issued during the period.",
        "label": "Temporary Equity Stock Issued During Period Value New Issues",
        "terseLabel": "Issuance of the convertible andredeemable series A-2 preferred stock"
       }
      }
     },
     "localname": "TemporaryEquityStockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFREDEEMABLESERIESA1PREFERREDSTOCKCONVERTIBLEANDREDEEMABLESERIESA2PREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TradeNamesMember": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights acquired through registration of a business name to gain or protect exclusive use thereof.",
        "label": "Trade Names [Member]",
        "terseLabel": "Trade Names"
       }
      }
     },
     "localname": "TradeNamesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPurchasePriceAttributableToAcquisitionsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureBusinessAcquisitionsWeightedAverageUsefulLivesForAcquiredIdentifiableIntangibleAssetsDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfAmountsRelatedToFiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockAcquiredAverageCostPerShare": {
     "auth_ref": [
      "r381"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total cost of shares repurchased divided by the total number of shares repurchased.",
        "label": "Treasury Stock Acquired Average Cost Per Share",
        "terseLabel": "Treasury stock purchase price"
       }
      }
     },
     "localname": "TreasuryStockAcquiredAverageCostPerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_TreasuryStockShares": {
     "auth_ref": [
      "r66",
      "r381"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of common and preferred shares that were previously issued and that were repurchased by the issuing entity and held in treasury on the financial statement date. This stock has no voting rights and receives no dividends.",
        "label": "Treasury Stock Shares",
        "terseLabel": "Commitments to repurchase capital stock"
       }
      }
     },
     "localname": "TreasuryStockShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TypeOfAdoptionMember": {
     "auth_ref": [
      "r0",
      "r1",
      "r2",
      "r3",
      "r4",
      "r145",
      "r146",
      "r147",
      "r149",
      "r159",
      "r244",
      "r245",
      "r253",
      "r254",
      "r255",
      "r256",
      "r259",
      "r260",
      "r307",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r460",
      "r462",
      "r494",
      "r495",
      "r496",
      "r497",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r578",
      "r579",
      "r580",
      "r581",
      "r600",
      "r601",
      "r603",
      "r604",
      "r605",
      "r606",
      "r610",
      "r611",
      "r646",
      "r675",
      "r676",
      "r677",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment to accounting standards.",
        "label": "Type Of Adoption [Member]",
        "terseLabel": "Accounting Standards Update"
       }
      }
     },
     "localname": "TypeOfAdoptionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSummaryOfNewAccountingPronouncementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnamortizedDebtIssuanceExpense": {
     "auth_ref": [
      "r52"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset.",
        "label": "Unamortized Debt Issuance Expense",
        "terseLabel": "Unamortized debt issuance costs"
       }
      }
     },
     "localname": "UnamortizedDebtIssuanceExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnbilledReceivablesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION": {
       "order": 10340.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount received for services rendered and products shipped, but not yet billed, for non-contractual agreements due within one year or the normal operating cycle, if longer.",
        "label": "Unbilled Receivables Current",
        "terseLabel": "Contract assets"
       }
      }
     },
     "localname": "UnbilledReceivablesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureRevenuesAndAccountsReceivableScheduleOfContractBalancesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefits": {
     "auth_ref": [
      "r469",
      "r479"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrecognized tax benefits.",
        "label": "Unrecognized Tax Benefits",
        "terseLabel": "Uncertain tax positions"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r185",
      "r186",
      "r187",
      "r188",
      "r192",
      "r193",
      "r194"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use Of Estimates",
        "terseLabel": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount": {
     "auth_ref": [
      "r485"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset.",
        "label": "Valuation Allowance Deferred Tax Asset Change In Amount",
        "terseLabel": "Increase in valuation allowance"
       }
      }
     },
     "localname": "ValuationAllowanceDeferredTaxAssetChangeInAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableLeaseCost": {
     "auth_ref": [
      "r638",
      "r645"
     ],
     "calculation": {
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails": {
       "order": 10060.0,
       "parentTag": "us-gaap_OperatingLeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of variable lease cost, excluded from lease liability, recognized when obligation for payment is incurred for finance and operating leases.",
        "label": "Variable Lease Cost",
        "terseLabel": "Variable lease cost"
       }
      }
     },
     "localname": "VariableLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]",
        "terseLabel": "Variable Rate"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]",
        "terseLabel": "Variable Rate"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtScheduleOfApplicablePercentagesDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureDebtSummaryOf2021CreditFacilityInterestRateSubjectToLeverageRatioAndLIBORDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VehiclesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment used primarily for road transportation.",
        "label": "Vehicles [Member]",
        "terseLabel": "Vehicles"
       }
      }
     },
     "localname": "VehiclesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentNetPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WarrantsAndRightsNoteDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants And Rights Note Disclosure [Abstract]"
       }
      }
     },
     "localname": "WarrantsAndRightsNoteDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_WarrantsAndRightsOutstandingMeasurementInput": {
     "auth_ref": [
      "r587"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur.",
        "label": "Warrants And Rights Outstanding Measurement Input",
        "terseLabel": "Assumptions used in calculating fair value of the warrant option"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_WarrantsAndRightsOutstandingTerm": {
     "auth_ref": [
      "r587"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Warrants And Rights Outstanding Term",
        "terseLabel": "Period between issuance and expiration of outstanding warrant",
        "verboseLabel": "Assumptions used in calculating fair value of the warrant option"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureConvertibleAndRedeemableSeriesA2PreferredStockAdditionalInformationDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfFairValueOfWarrantOptionsAssociatedWithIssuanceOfRedeemablePreferredStockDetails",
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureWarrantOptionsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average number of shares or units issued and outstanding that are used in calculating basic and diluted earnings per share (EPS).",
        "label": "Weighted Average Number Of Share Outstanding Basic And Diluted",
        "positiveLabel": "Weighted-average common shares outstanding \u2013 basic and diluted",
        "terseLabel": "WEIGHTED AVERAGE COMMON SHARES OUTSTANDING\u2014BASIC AND DILUTED"
       }
      }
     },
     "localname": "WeightedAverageNumberOfShareOutstandingBasicAndDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://montrose-env.com/20211231/taxonomy/role/DisclosureNetLossPerShareComputationOfBasicAndDilutedNetLossIncomePerShareAttributableToCommonStockholdersDetails",
      "http://montrose-env.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 7
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3367-108585"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3000-108585"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=SL94080549-108585"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3521-108585"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4273-108586"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4304-108586"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4313-108586"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4332-108586"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=SL98516268-108586"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18726-107790"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21728-107793"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(4)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "http://asc.fasb.org/topic&trid=2122149"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=122038215&loc=d3e31010-122693"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=122038215&loc=SL108384541-122693"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "250",
   "URI": "http://asc.fasb.org/topic&trid=2122394"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1377-109256"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1505-109256"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1252-109256"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1278-109256"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e2626-109256"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1337-109256"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e3842-109258"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "http://asc.fasb.org/topic&trid=2144383"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)(7)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "http://asc.fasb.org/topic&trid=2134479"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8657-108599"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8672-108599"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6787-107765"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "26",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8844-108599"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6801-107765"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6904-107765"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8981-108599"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "280",
   "URI": "http://asc.fasb.org/topic&trid=2134510"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4647-111522"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6911-107765"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL82887624-210437"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6935-107765"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL120254519-210437"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e7018-107765"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=123349782&loc=d3e5879-108316"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=123349782&loc=d3e5879-108316"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=6387103&loc=d3e6435-108320"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(27)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=120320667&loc=SL49117168-202975"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "350",
   "URI": "http://asc.fasb.org/topic&trid=2144416"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226317&loc=d3e202-110218"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=123351718&loc=d3e2611-110228"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.CC)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=27011434&loc=d3e125687-122742"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "http://asc.fasb.org/topic&trid=2155823"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.P.4(d))",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=123368208&loc=d3e12565-110249"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S65",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359872&loc=SL124427846-239511"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "40",
   "SubTopic": "50",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123467658&loc=d3e12317-112629"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "40",
   "SubTopic": "50",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123467658&loc=d3e12355-112629"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "http://asc.fasb.org/topic&trid=2208564"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=109262497&loc=d3e20148-110875"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "63",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=117411753&loc=d3e23176-110880"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(CFRR 211.02)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 3.C)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=d3e177168-122764"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=65888546&loc=d3e21300-112643"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21553-112644"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21484-112644"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21488-112644"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21506-112644"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21521-112644"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21538-112644"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "50",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=6784392&loc=d3e188667-122775"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "http://asc.fasb.org/topic&trid=2208762"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123360276&loc=SL49130531-203044"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123360276&loc=SL49130532-203044"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130551-203045"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130556-203045"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130556-203045"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130543-203045"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130549-203045"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130549-203045"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(i)(2)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "705",
   "URI": "http://asc.fasb.org/topic&trid=2122478"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "http://asc.fasb.org/subtopic&trid=2235116"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=123468992&loc=d3e4534-113899"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b),(f(1))",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(4)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=SL79508275-113901"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.D.2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.F)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122142933&loc=d3e11149-113907"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122142933&loc=d3e11178-113907"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "35",
   "Subparagraph": "(a)",
   "Topic": "720",
   "URI": "http://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=SL37586934-109318"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(7))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e31917-109318"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(8))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.14)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "http://asc.fasb.org/topic&trid=2144680"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(a)-(d)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=6909625&loc=d3e227-128457"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123586518&loc=d3e1043-128460"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(3)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.17)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "37",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123455525&loc=d3e2207-128464"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123410050&loc=d3e5227-128473"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123410050&loc=d3e5263-128473"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123410050&loc=d3e5263-128473"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123410050&loc=d3e5333-128473"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "38",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123410050&loc=d3e5504-128473"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "38",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123410050&loc=d3e5504-128473"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=6911189&loc=d3e6405-128476"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=6911189&loc=d3e6411-128476"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116859721&loc=d3e6578-128477"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116859721&loc=d3e6613-128477"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "30",
   "Subparagraph": "b",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116859824&loc=d3e6819-128478"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(3)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)(2)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a),20,24)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)(3)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e7008-128479"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "805",
   "URI": "http://asc.fasb.org/topic&trid=2303972"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4569616-111683"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=107671284&loc=SL5844817-113951"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515679&loc=d3e40733-113955"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "15",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123589689&loc=d3e48542-113965"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "15",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=56949186&loc=d3e50579-113967"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "15",
   "Topic": "815",
   "URI": "http://asc.fasb.org/subtopic&trid=2229187"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=124256753&loc=SL5864739-113975"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121483254&loc=SL120254523-199619"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121577467&loc=d3e76258-113986"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123477628&loc=d3e90193-114008"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123477628&loc=d3e90198-114008"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123477628&loc=d3e90205-114008"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19,20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(3)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19279-110258"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19279-110258"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=SL6742756-110258"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "60",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=7493716&loc=d3e21868-110260"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13279-108611"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222160&loc=d3e957-107759"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.21)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL120254526-165497"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL120254526-165497"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL120254526-165497"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL122642865-165497"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL122642865-165497"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.24)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "830",
   "URI": "http://asc.fasb.org/topic&trid=2175825"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123341672&loc=SL77916155-209984"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123341672&loc=SL120154346-209984"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r629": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r630": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918638-209977"
  },
  "r631": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918638-209977"
  },
  "r632": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977"
  },
  "r633": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977"
  },
  "r634": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977"
  },
  "r635": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980"
  },
  "r636": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r637": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r638": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r639": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(1)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.28,29)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r640": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(2)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r641": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(3)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r642": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(4)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r643": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r644": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918701-209980"
  },
  "r645": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971"
  },
  "r646": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "http://asc.fasb.org/extlink&oid=122150657&loc=SL122150809-237846"
  },
  "r647": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "848",
   "URI": "http://asc.fasb.org/extlink&oid=122150657&loc=SL122150809-237846"
  },
  "r648": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r649": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r650": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r651": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r652": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864"
  },
  "r653": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r654": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
  },
  "r655": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "http://asc.fasb.org/topic&trid=2122745"
  },
  "r656": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r657": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r658": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r659": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29,30)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r660": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r661": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662"
  },
  "r662": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "http://asc.fasb.org/topic&trid=2122774"
  },
  "r663": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r664": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r665": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r666": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r667": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r668": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r669": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r670": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r671": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r672": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991595-234733"
  },
  "r673": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r674": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959"
  },
  "r675": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r676": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r677": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r678": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(1)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r679": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(2)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3(a)(4))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r680": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(3)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r681": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "http://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004"
  },
  "r682": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "http://asc.fasb.org/extlink&oid=123384075&loc=d3e41242-110953"
  },
  "r683": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r684": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10)(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r685": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r686": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r687": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r688": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r689": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r690": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r691": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r692": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r693": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r694": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r695": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r696": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r697": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r698": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
  },
  "r699": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "405",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222160&loc=SL51721523-107759"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.9)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r700": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r701": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r702": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(15)(b)(2))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r703": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r704": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r705": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r706": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r707": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r708": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r709": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
  },
  "r710": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r711": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r712": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.17)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r713": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.5(c))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r714": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r715": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r716": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r717": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r718": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r719": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r720": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r721": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
  },
  "r722": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117819544-158441"
  },
  "r723": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r724": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r725": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r726": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r727": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r728": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r729": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r730": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r731": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r732": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r733": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r734": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r735": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195"
  },
  "r736": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611282-123010"
  },
  "r737": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column C)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611282-123010"
  },
  "r738": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column D)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611282-123010"
  },
  "r739": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column E)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611282-123010"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e637-108580"
  },
  "r740": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column F)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611282-123010"
  },
  "r741": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column G)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611282-123010"
  },
  "r742": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=123364037&loc=d3e3115-115594"
  },
  "r743": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
  },
  "r744": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "450",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=6491354&loc=d3e6049-115624"
  },
  "r745": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99779-112916"
  },
  "r746": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99893-112916"
  },
  "r747": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=SL120174063-112916"
  },
  "r748": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "http://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r749": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "http://asc.fasb.org/extlink&oid=123360121&loc=d3e27327-108691"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e681-108580"
  },
  "r750": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r751": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r752": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-23"
  },
  "r753": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r754": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310"
  },
  "r755": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f"
  },
  "r756": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f"
  },
  "r757": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r758": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r759": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669686-108580"
  },
  "r760": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r761": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848"
  },
  "r762": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "848"
  },
  "r763": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "848"
  },
  "r764": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848"
  },
  "r765": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848"
  },
  "r766": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "848"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222160&loc=SL51721525-107759"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e557-108580"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(14))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222160&loc=d3e1012-107759"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(5))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(8))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(a),(b))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.8)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.9)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
  }
 },
 "version": "2.1"
}
