XML 41 R30.htm IDEA: XBRL DOCUMENT
v3.21.1

Revenues and Accounts Receivable (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2021
Revenues And Accounts Receivable [Abstract] |
Schedule of Contract Balances | The following table presents the Company’s contract balances:
|  | March 31, |  |  | December 31, |
|  | 2021 |  |  | 2020 |
Contract assets |  | $ | 61,636 |  |  | $ | 38,576 |
Contract liabilities |  |  | 6,476 |  |  |  | 6,114 |
Schedule of Accounts Receivable, Net | Accounts receivable, net consisted of the following:
|  | March 31, |  |  | December 31, |
|  | 2021 |  |  | 2020 |
Accounts receivable, invoiced |  | $ | 64,314 |  |  | $ | 57,228 |
Accounts receivable, other |  |  | 5,766 |  |  |  | 1,139 |
Allowance for doubtful accounts |  |  | (4,309 | ) |  |  | (4,265 | )
Accounts receivable—net |  | $ | 65,771 |  |  | $ | 54,102 |
Schedule of Allowance for Doubtful Accounts | The allowance for doubtful accounts consisted of the following:
|  | Beginning Balance |  |  | Bad Debt Expense |  |  | Charged to Allowance |  |  | Other(1) |  |  | Ending Balance |
Three months ended March 31, 2021 |  | $ | 4,265 |  |  | $ | 508 |  |  | $ | (473 | ) |  | $ | 9 |  |  | $ | 4,309 |
Year ended December 31, 2020 |  |  | 1,327 |  |  |  | 4,532 |  |  |  | (2,633 | ) |  |  | 1,039 |  |  |  | 4,265 |
____________________
(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 Tabular disclosure of allowance for credit loss on financing receivable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447 + Details
Name: | us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130551-203045 + Details
Name: | us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.3,4) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration