XML 38 R31.htm IDEA: XBRL DOCUMENT
v3.25.3

Revenues and Accounts Receivable (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2025
Revenues And Accounts Receivable [Abstract] |
Schedule of Contract Balances | The following table presents the Company’s contract balances:
|  | September 30, |  |  | December 31, |
|  | 2025 |  |  | 2024 |
Contract assets |  | $ | 68,743 |  |  | $ | 52,091 |
Contract liabilities |  |  | 13,827 |  |  |  | 9,297 |
Schedule of Accounts Receivable, Net | Accounts Receivable, Net Accounts receivable, net consisted of the following:
|  | September 30, 2025 |  |  | December 31, 2024 |
Accounts receivable, invoiced |  | $ | 173,457 |  |  | $ | 160,976 |
Allowance for doubtful accounts |  |  | (8,143 | ) |  |  | (2,093 | )
Accounts receivable, net |  | $ | 165,314 |  |  | $ | 158,883 |
Schedule of Allowance for Doubtful Accounts | The allowance for doubtful accounts consisted of the following:
|  | Beginning Balance |  |  | Bad Debt Expense (Recovery) |  |  | Charged to Allowance |  |  | Ending Balance |
Nine months ended September 30, 2025 |  | $ | 2,093 |  |  | $ | 7,038 |  |  | $ | (988 | ) |  | $ | 8,143 |
Year ended December 31, 2024 |  |  | 2,724 |  |  |  | (146 | ) |  |  | (485 | ) |  |  | 2,093 |

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://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 + Details
Name: | us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types: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 -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479806/606-10-50-10 + Details
Name: | us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types: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 -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration