XML 85 R74.htm IDEA: XBRL DOCUMENT
v3.23.2

Debt - Summary of Term Loan Amortization (Details) - 2021 Credit Facility - Term Loan Facility | 6 Months Ended
--- | ---
Jun. 30, 2023
Subsequent Event [Line Items] |
Debt instrument, quarterly installment rate, September 30, 2023 | 1.25%
Debt instrument, quarterly installment rate, December 31, 2023 | 1.88%
Debt instrument, quarterly installment rate, March 31, 2024 | 1.88%
Debt instrument, quarterly installment rate, June 30, 2024 | 1.88%
Debt instrument, quarterly installment rate, September 30, 2024 | 1.88%
Debt instrument, quarterly installment rate, December 31, 2024 | 1.88%
Debt instrument, quarterly installment rate, March 31, 2025 | 1.88%
Debt instrument, quarterly installment rate, June 30, 2025 | 1.88%
Debt instrument, quarterly installment rate, September 30, 2025 | 1.88%
Debt instrument, quarterly installment rate, December 31, 2025 | 2.50%
Debt instrument, quarterly installment rate, March 31, 2026 | 2.50%
Debt instrument, quarterly installment rate, April 27, 2026 | Remaining balance

X
- Definition Debt instrument, quarterly installment rate, quarter eight. + References No definition available. + Details
Name: | meg_DebtInstrumentQuarterlyInstallmentRateQuarterEight
Namespace Prefix: | meg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument, quarterly installment rate, quarter eleven. + References No definition available. + Details
Name: | meg_DebtInstrumentQuarterlyInstallmentRateQuarterEleven
Namespace Prefix: | meg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument, quarterly installment rate, quarter fifteen. + References No definition available. + Details
Name: | meg_DebtInstrumentQuarterlyInstallmentRateQuarterFifteen
Namespace Prefix: | meg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument, quarterly installment rate, quarter five. + References No definition available. + Details
Name: | meg_DebtInstrumentQuarterlyInstallmentRateQuarterFive
Namespace Prefix: | meg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument, quarterly installment rate, quarter fourteen. + References No definition available. + Details
Name: | meg_DebtInstrumentQuarterlyInstallmentRateQuarterFourteen
Namespace Prefix: | meg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument, quarterly installment rate, quarter nine. + References No definition available. + Details
Name: | meg_DebtInstrumentQuarterlyInstallmentRateQuarterNine
Namespace Prefix: | meg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument, quarterly installment rate, quarter seven. + References No definition available. + Details
Name: | meg_DebtInstrumentQuarterlyInstallmentRateQuarterSeven
Namespace Prefix: | meg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument, quarterly installment rate, quarter six. + References No definition available. + Details
Name: | meg_DebtInstrumentQuarterlyInstallmentRateQuarterSix
Namespace Prefix: | meg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Quarterly Installment Rate, Quarter Ten. + References No definition available. + Details
Name: | meg_DebtInstrumentQuarterlyInstallmentRateQuarterTen
Namespace Prefix: | meg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument, quarterly installment rate, quarter thirteen. + References No definition available. + Details
Name: | meg_DebtInstrumentQuarterlyInstallmentRateQuarterThirteen
Namespace Prefix: | meg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument, quarterly installment rate, quarter twelve. + References No definition available. + Details
Name: | meg_DebtInstrumentQuarterlyInstallmentRateQuarterTwelve
Namespace Prefix: | meg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument, quarterly installment rate, thereafter. + References No definition available. + Details
Name: | meg_DebtInstrumentQuarterlyInstallmentRateThereafter
Namespace Prefix: | meg_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481674/830-30-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 855 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483399/855-10-50-2 + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=meg_TwentyTwentyOneCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=meg_TermLoanFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |