XML 41 R34.htm IDEA: XBRL DOCUMENT
v3.25.3

Leases (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2025
Leases [Abstract] |
Summary of Components of Lease Expense | The components of lease expense were as follows:
|  |  | For the Three Months Ended September 30, |
| Statement of Operations Location |  | 2025 |  |  | 2024 |
Operating lease cost |  |  |  |  |  |  |
Lease cost | Selling, general and administrative expense |  | $ | 3,064 |  |  | $ | 3,319 |
Variable lease cost | Selling, general and administrative expense |  |  | 695 |  |  |  | 651 |
Total operating lease cost |  |  | $ | 3,759 |  |  | $ | 3,970 |
Finance lease cost |  |  |  |  |  |  |
Amortization of ROU assets | Depreciation and amortization |  | $ | 2,394 |  |  | $ | 1,496 |
Interest on lease liabilities | Interest expense, net |  |  | 348 |  |  |  | 26 |
Total finance lease cost |  |  | $ | 2,742 |  |  | $ | 1,522 |
Total lease cost |  |  | $ | 6,501 |  |  | $ | 5,492 |
|  |  | For the Nine Months Ended September 30, |
| Statement of Operations Location |  | 2025 |  |  | 2024 |
Operating lease cost |  |  |  |  |  |  |
Lease cost | Selling, general and administrative expense |  | $ | 9,299 |  |  | $ | 10,421 |
Variable lease cost | Selling, general and administrative expense |  |  | 2,285 |  |  |  | 1,687 |
Total operating lease cost |  |  | $ | 11,584 |  |  | $ | 12,108 |
Finance lease cost |  |  |  |  |  |  |
Amortization of ROU assets | Depreciation and amortization |  | $ | 6,353 |  |  | $ | 4,068 |
Interest on lease liabilities | Interest expense, net |  |  | 925 |  |  |  | 425 |
Total finance lease cost |  |  | $ | 7,278 |  |  | $ | 4,493 |
Total lease cost |  |  | $ | 18,862 |  |  | $ | 16,601 |
Summary of Supplemental Cash Flow Information Related To Leases | Supplemental cash flows information related to leases was as follows:
|  | For the Nine Months Ended September 30, |
|  | 2025 |  |  | 2024 |
Cash paid for amounts included in the measurement of lease liabilities: |  |  |  |  |  |
Operating cash flows used in operating leases |  | $ | 10,357 |  |  | $ | 9,748 |
Operating cash flows used for interest related to finance leases |  |  | 878 |  |  |  | 425 |
Financing cash flows used in finance leases |  |  | 4,697 |  |  |  | 4,384 |
Lease liabilities arising from new ROU assets: |  |  |  |  |  |
Operating leases |  |  | 4,726 |  |  |  | 14,676 |
Finance leases |  |  | 7,143 |  |  |  | 5,806 |
Summary of Weighted Average Remaining Lease Terms and Weighted Average Discount Rates | Weighted average remaining lease terms and weighted average discount rates were:
|  | September 30, 2025 |
|  | Operating Leases |  |  | Finance Leases |
Weighted average remaining lease term (years) |  |  | 4.2 |  |  |  | 3.3 |
Weighted average discount rate |  |  | 5.0 | % |  |  | 6.7 | %
|  | September 30, 2024 |
|  | Operating Leases |  |  | Finance Leases |
Weighted average remaining lease term (years) |  |  | 4.4 |  |  |  | 3.5 |
Weighted average discount rate |  |  | 4.6 | % |  |  | 6.6 | %
Schedule of Maturities of Lease Liabilities | The following is a schedule by year of the maturities of lease liabilities with original terms in excess of one year:
|  | Operating Leases |  |  | Finance Leases |
Remainder of 2025 |  | $ | 3,266 |  |  | $ | 1,913 |
2026 |  |  | 11,591 |  |  |  | 6,827 |
2027 |  |  | 8,972 |  |  |  | 5,439 |
2028 |  |  | 7,311 |  |  |  | 3,752 |
2029 |  |  | 5,485 |  |  |  | 2,319 |
2030 and thereafter |  |  | 4,942 |  |  |  | 256 |
Total undiscounted future minimum lease payments |  | $ | 41,567 |  |  | $ | 20,506 |
Less imputed interest |  |  | (4,281 | ) |  |  | (2,076 | )
Total discounted future minimum lease payments |  | $ | 37,286 |  |  | $ | 18,430 |

X
- Definition Schedule of cash flow supplemental disclosures related to leases. + References No definition available. + Details
Name: | meg_ScheduleOfCashFlowSupplementalDisclosuresRelatedToLeasesTableTextBlock
Namespace Prefix: | meg_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule of maturities of lease liabilities. + References No definition available. + Details
Name: | meg_ScheduleOfMaturitiesOfLeaseLiabilitiesTableTextBlock
Namespace Prefix: | meg_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Summary of weighted average remaining lease terms and weighted average discount rates. + References No definition available. + Details
Name: | meg_SummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesTableTextBlock
Namespace Prefix: | meg_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-4 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_LeasesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration