XML 25 R14.htm IDEA: XBRL DOCUMENT
v3.23.2

Leases | 6 Months Ended
--- | ---
Jun. 30, 2023
Leases [Abstract] |
Leases | 6. LEASES Leases are classified as either finance leases or operating leases based on criteria in ASC 842. The Company has finance leases for its vehicle and equipment leases and operating leases for its real estate space and office equipment leases. The Company’s operating and finance leases generally have original lease terms between 1 year and 15 years, an d in some instances include one or more options to renew. The Company includes options to extend the lease term if the options are reasonably certain of being exercised. The Company currently considers some of its renewal options to be reasonably certain to be exercised. Some leases also include early termination options, which can be exercised under specific conditions. The Company does not have material residual value guarantees or restrictive covenants associated with its leases. Finance and operating lease assets represent the right to use an underlying asset for the lease term, and finance and operating lease liabilities represent the obligation to make lease payments arising from the lease. The Company calculates the present value of its finance and operating leases using an estimated incremental borrowing rate (“IBR”), which requires judgment. For real estate operating leases, the Company estimates the IBR based on prevailing market rates for collateralized debt in a similar economic environment with similar payment terms and maturity dates commensurate with the terms of the lease. For all other leases, the Company estimates the IBR based on the stated interest rate on the contract. Since many of the inputs used to calculate the rate implicit in the leases are not readily determinable from the lessee’s perspective, the Company does not use the implicit interest rate. Certain leases contain variable payments, these payments are expensed as incurred and not included in the Company’s operating lease right-of-use assets and operating lease liabilities. These amounts primarily include payments for maintenance, utilities, taxes, and insurance and are excluded from the present value of the Company’s lease obligations. The Company does not record operating lease right-of-use assets or operating lease liabilities for leases with an initial term of 12 months or less. The Company also combines lease and non-lease components on all new or modified operating leases into a single lease component for all classes of assets. The components of lease expense were as follows:
|  | For the Three Months Ended June 30, |
| Statement of Operations Location | 2023 |  |  | 2022 |
Operating lease cost |  |  |  |  |  |
Lease cost | Selling, general and administrative expense | $ | 2,804 |  |  | $ | 2,500 |
Variable lease cost | Selling, general and administrative expense |  | 299 |  |  |  | 190 |
Total operating lease cost |  |  | 3,103 |  |  |  | 2,690 |
Finance lease cost |  |  |  |  |  |
Amortization of right of use assets | Depreciation and amortization |  | 1,429 |  |  |  | 1,012 |
Interest on lease liabilities | Interest expense—net |  | 171 |  |  |  | 108 |
Total finance lease cost |  |  | 1,600 |  |  |  | 1,120 |
Total lease cost |  | $ | 4,703 |  |  | $ | 3,810 |
|  | For the Six Months Ended June 30, |
| Statement of Operations Location | 2023 |  |  | 2022 |
Operating lease cost |  |  |  |  |  |
Lease cost | Selling, general and administrative expense | $ | 5,545 |  |  | $ | 4,951 |
Variable lease cost | Selling, general and administrative expense |  | 625 |  |  |  | 557 |
Total operating lease cost |  |  | 6,170 |  |  |  | 5,508 |
Finance lease cost |  |  |  |  |  |
Amortization of right of use assets | Depreciation and amortization |  | 2,583 |  |  |  | 1,951 |
Interest on lease liabilities | Interest expense—net |  | 301 |  |  |  | 220 |
Total finance lease cost |  |  | 2,884 |  |  |  | 2,171 |
Total lease cost |  | $ | 9,054 |  |  | $ | 7,679 |
Supplemental cash flows information related to leases was as follows:
|  | For the Six Months Ended June 30, |
|  | 2023 |  |  | 2022 |
Cash paid for amounts included in the measurement of lease liabilities: |  |  |  |  |  |
Operating cash flows used in operating leases |  | $ | 5,306 |  |  | $ | 4,741 |
Operating cash flows used in finance leases |  |  | 301 |  |  |  | 220 |
Financing cash flows used in finance leases |  |  | 2,198 |  |  |  | 1,911 |
Lease liabilities arising from new ROU assets: |  |  |  |  |  |
Operating leases |  |  | 23,831 |  |  |  | 10,478 |
Finance leases |  |  | 3,326 |  |  |  | 1,273 |
Weighted average remaining lease terms and weighted average discount rates were:
|  | June 30, 2023 |
|  | Operating Leases |  |  | Finance Leases |
Weighted average remaining lease term (years) |  | 5.49 |  |  |  | 3.33 |
Weighted average discount rate |  | 2.80% |  |  | 5.76% |
|  | June 30, 2022 |
|  | Operating Leases |  |  | Finance Leases |
Weighted average remaining lease term (years) |  | 4.68 |  |  |  | 3.00 |
Weighted average discount rate |  |  | 2.53 | % |  |  | 4.85 | %
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 2023 |  | $ | 6,239 |  |  | $ | 2,530 |
2024 |  |  | 11,546 |  |  |  | 3,824 |
2025 |  |  | 8,960 |  |  |  | 2,865 |
2026 |  |  | 7,028 |  |  |  | 2,134 |
2027 |  |  | 4,867 |  |  |  | 1,058 |
2028 and thereafter |  |  | 10,322 |  |  |  | 146 |
Total undiscounted future minimum lease payments |  |  | 48,962 |  |  |  | 12,557 |
Less imputed interest |  |  | (2,937 | ) |  |  | (1,164 | )
Total discounted future minimum lease payments |  | $ | 46,025 |  |  | $ | 11,393 |

X
- Definition Lessee operating and finance leases. + References No definition available. + Details
Name: | meg_LesseeOperatingAndFinanceLeasesTextBlock
Namespace Prefix: | meg_
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