XML 22 R11.htm IDEA: XBRL DOCUMENT
v3.23.2

Revenues and Accounts Receivable | 6 Months Ended
--- | ---
Jun. 30, 2023
Revenues And Accounts Receivable [Abstract] |
Revenues and Accounts Receivable | 3. REVENUES AND ACCOUNTS RECEIVABLE The Company’s main revenue sources derive from the following revenue streams: Assessment, Permitting and Response Revenues—Assessment, Permitting and Response revenues are generated from multidisciplinary environmental consulting services. The majority of the contracts are fixed-price or time and material based. Measurement and Analysis Revenues—Measurement and Analysis revenues are generated from emissions sampling, testing and reporting services, leak detection services, ambient air monitoring services and laboratory testing services. The majority of the contracts are fixed-price or time-and-materials based. Remediation and Reuse Revenues—Remediation and Reuse revenues are generated from engineering, design, implementation and operating and maintenance (“O&M”) services primarily to treat contaminated water, remove contaminants from soil or create biogas from waste. Engineering, design and implementation contracts are predominantly fixed-fee and time-and-materials based. Services on the majority of O&M contracts are provided under long-term fixed-fee contracts. Disaggregation of Revenue—The Company disaggregates revenue by its operating segments. The Company believes disaggregating revenue into these categories achieves the disclosure objectives to depict how the nature, amount, and uncertainty of revenue and cash flows are affected by economic factors. Disaggregated revenue disclosures are provided in Note 18. Contract Balances—The Company presents contract balances for unbilled receivables (contract assets), as well as customer advances, deposits and deferred revenue (contract liabilities) within contract assets and accounts payable and other accrued expenses, respectively, on the unaudited condensed consolidated statements of financial position. Amounts are generally billed at periodic intervals (e.g. weekly, bi-weekly or monthly) as work progresses in accordance with agreed-upon contractual terms. The Company utilizes the practical expedient to not adjust the promised amount of consideration for the effects of a significant financing component as the period between when the Company transfers services to a customer and when the customer pays for those services is one year or less. Amounts recorded as unbilled receivables are generally for services the Company is not entitled to bill based on the passage of time. Under certain contracts, billing occurs subsequent to revenue recognition, resulting in contract assets. The Company sometimes receives advances or deposits from customers before revenue is recognized, resulting in contract liabilities. The following table presents the Company’s contract balances:
|  | June 30, |  |  | December 31, |
|  | 2023 |  |  | 2022 |
Contract assets |  | $ | 57,114 |  |  | $ | 52,403 |
Contract liabilities |  |  | 11,333 |  |  |  | 18,549 |
Contract assets acquired through business acquisitions amounted to $2.2 million and $1.7 million as of June 30, 2023 and December 31, 2022, respectively. No material contract liabilities were acquired through business acquisitions as of June 30, 2023 and December 31, 2022. Revenue recognized during the three and six months ended June 30, 2023, included in the contract liabilities balance at the beginning of the year was $0.5 million and $13.3 million, respectively. The revenue recognized from the contract liabilities consisted of the Company satisfying performance obligations during the normal course of business. Remaining Unsatisfied Performance Obligations—Remaining unsatisfied performance obligations represent the total dollar value of work to be performed on contracts awarded and in progress. The amount of remaining unsatisfied performance obligations increases with new contracts or additions to existing contracts and decreases as revenue is recognized on existing contracts. Contracts are included in the amount of remaining unsatisfied performance obligations when an enforceable agreement has been reached. As of June 30, 2023 and December 31, 2022, the estimated revenue expected to be recognized in the future related to performance obligations that are unsatisfied was approximately $82.3 million and $100.4 million, respectively. As of June 30, 2023, the Company expected to recognize approximately $64.8 million of this amount as revenue within a year and $17.5 million the year after. Accounts Receivable, Net—Th e Company extends non-interest-bearing trade credit to its customers in the ordinary course of business. Accounts receivable, net consisted of the following:
|  | June 30, 2023 |  |  | December 31, 2022 |
Accounts receivable, invoiced |  | $ | 106,245 |  |  | $ | 95,055 |
Accounts receivable, other |  |  | 981 |  |  |  | 1,571 |
Allowance for doubtful accounts |  |  | (3,506 | ) |  |  | (1,915 | )
Accounts receivable—net |  | $ | 103,720 |  |  | $ | 94,711 |
The Company did not have any customers that exceeded 10.0% of its gross receivables as of June 30, 2023 and December 31, 2022. During the three and six months ended June 30, 2023 the Company had one customer who accounted for 12.3% and 10.4% of revenue, respectively. For the three and six months ended June 30, 2022, the Company had one customer who accounted for 16.1% and 16.7% of revenue, respectively. The Company performs ongoing credit evaluations and based on past collection experience, the Company believes that the receivable balances from these largest customers do not represent a significant credit risk. The allowance for doubtful accounts consisted of the following:
|  | Beginning Balance |  |  | Bad Debt Expense (Recovery) |  |  | Charged to Allowance |  |  | Other(1) |  |  | Ending Balance |
Six months ended June 30, 2023 |  | $ | 1,915 |  |  | $ | 1,824 |  |  | $ | (233 | ) |  | $ | — |  |  | $ | 3,506 |
Year ended December 31, 2022 |  |  | 4,581 |  |  |  | (1,097 | ) |  |  | (1,696 | ) |  |  | 127 |  |  |  | 1,915 |
____________________ (1) This amount consists of additions to the allowance due to business acquisitions.

X
- Definition Revenues and accounts receivable abstract. + References No definition available. + Details
Name: | meg_RevenuesAndAccountsReceivableAbstract
Namespace Prefix: | meg_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Entire disclosure of revenues and accounts receivable. + References No definition available. + Details
Name: | meg_RevenuesAndAccountsReceivableTextBlock
Namespace Prefix: | meg_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration