XML 46 R35.htm IDEA: XBRL DOCUMENT
v3.23.2

Business Acquisitions (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2023
Business Acquisition [Line Items] |
Summary of Supplemental Unaudited Pro-Forma Information | The unaudited condensed consolidated financial information summarized in the following table gives effect to the 2023 and the 2022 acquisitions discussed above assuming they occurred on January 1, 2022. These unaudited consolidated pro-forma operating results do not assume any impact from revenue, cost or other operating synergies that are expected or may have been realized as a result of the acquisitions. These unaudited consolidated pro-forma operating results are presented for illustrative purposes only and are not indicative of the operating results that would have been achieved had the acquisitions occurred on January 1, 2022, nor does the information purport to reflect results for any future period.
|  | For the Three Months Ended June 30, |
|  | 2023 |  |  | 2022 |
|  | As reported |  |  | Acquisitions Pro-Forma (Unaudited) |  |  | Consolidated Pro-Forma (Unaudited) |  |  | As reported |  |  | Acquisitions Pro-Forma (Unaudited) |  |  | Consolidated Pro-Forma (Unaudited) |
Revenues |  | $ | 159,101 |  |  | $ | 9,851 |  |  | $ | 168,952 |  |  | $ | 139,910 |  |  | $ | 24,159 |  |  | $ | 164,069 |
Net (loss) income |  |  | (7,174 | ) |  |  | (225 | ) |  |  | (7,399 | ) |  |  | (7,751 | ) |  |  | 1,368 |  |  |  | (6,383 | )
|  | For the Six Months Ended June 30, |
|  | 2023 |  |  | 2022 |
|  | As reported |  |  | Acquisitions Pro-Forma (Unaudited) |  |  | Consolidated Pro-Forma (Unaudited) |  |  | As reported |  |  | Acquisitions Pro-Forma (Unaudited) |  |  | Consolidated Pro-Forma |
Revenues |  | $ | 290,529 |  |  | $ | 24,622 |  |  | $ | 315,151 |  |  | $ | 274,590 |  |  | $ | 42,910 |  |  | $ | 317,500 |
Net (loss) income |  |  | (21,893 | ) |  |  | 358 |  |  |  | (21,535 | ) |  |  | (15,287 | ) |  |  | 1,470 |  |  |  | (13,817 | )
Matrix, Frontier, EAI, GreenPath |
Business Acquisition [Line Items] |
Summary of Main Elements of Purchase Price of Acquisitions | The following table summarizes the elements of the purchase price of the acquisitions completed during the six months ended June 30, 2023:
|  | Cash |  |  | Common Stock |  |  | Other Purchase Price Components |  |  | Contingent Consideration |  |  | Total Purchase Price |
Matrix |  | $ | 46,563 |  |  | $ | — |  |  | $ | 2,019 |  | (1) | $ | — |  |  | $ | 48,582 |
All other 2023 acquisitions |  |  | 18,774 |  |  |  | 2,598 |  |  |  | 111 |  |  |  | 25 |  |  |  | 21,508 |
Total |  | $ | 65,337 |  |  | $ | 2,598 |  |  | $ | 2,130 |  |  | $ | 25 |  |  | $ | 70,090 |
____________________ (1) Includes $1.3 million in holdback amounts payable to the seller. Cash funds to be used for payment have been classified as restricted cash in the Company's unaudited condensed consolidated statement of financial position.
Summary of Purchase Price Attributable to Acquisitions | The preliminary purchase price attributable to the acquisitions was allocated as follows:
|  | Matrix(1) |  |  | All other 2023 acquisitions(1) |  |  | Total(1) |
Cash |  | $ | 1,524 |  |  | $ | 763 |  |  | $ | 2,287 |
Accounts receivable and contract assets |  |  | 15,752 |  |  |  | 3,119 |  |  |  | 18,871 |
Other current assets |  |  | 2,094 |  |  |  | 369 |  |  |  | 2,463 |
Current assets |  |  | 19,370 |  |  |  | 4,251 |  |  |  | 23,621 |
Property and equipment |  |  | 2,231 |  |  |  | 1,492 |  |  |  | 3,723 |
Operating lease right-of-use asset |  |  | 14,760 |  |  |  | 46 |  |  |  | 14,806 |
Customer relationships |  |  | — |  |  |  | 6,797 |  |  |  | 6,797 |
Trade names |  |  | — |  |  |  | 151 |  |  |  | 151 |
Covenants not to compete |  |  | — |  |  |  | 454 |  |  |  | 454 |
Other intangible assets |  |  | — |  |  |  | 444 |  |  |  | 444 |
Goodwill |  |  | 36,118 |  |  |  | 8,763 |  |  |  | 44,881 |
Total assets |  |  | 72,479 |  |  |  | 22,398 |  |  |  | 94,877 |
Current liabilities |  |  | 11,267 |  |  |  | 858 |  |  |  | 12,125 |
Operating lease liability—net of current portion |  |  | 12,500 |  |  |  | 32 |  |  |  | 12,532 |
Other non-current liabilities |  |  | 130 |  |  |  | — |  |  |  | 130 |
Total liabilities |  |  | 23,897 |  |  |  | 890 |  |  |  | 24,787 |
Purchase price |  | $ | 48,582 |  |  | $ | 21,508 |  |  | $ | 70,090 |
___________________________________ (1) The Company is continuing to obtain information to complete the valuation of certain of these acquisitions' assets and liabilities.

X
- Definition 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. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479907/805-20-50-5 + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(2) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(3) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_BusinessAcquisitionProFormaInformationTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-3 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Paragraph 1 -Section 50 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=meg_FrontieranalyticallaboratoriesenvironmentalallianceincgreenpathenergylimitedmatrixsolutionsincMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |