XML 78 R71.htm IDEA: XBRL DOCUMENT
v3.25.3

Debt - Summary of 2025 Credit Facility Term Loan and Revolving Line of Credit Interest Rate Subject to Leverage Ratio and SOFR (Details) - 2025 Credit Facility Term Loan | Feb. 26, 2025
--- | ---
Pricing Tier1 |
Subsequent Event [Line Items] |
Commitment Fee | 0.25%
Letter of Credit Fee | 2.50%
Pricing Tier1 | Minimum |
Subsequent Event [Line Items] |
Net Leverage Ratio | 375.00%
Pricing Tier1 | SOFR |
Subsequent Event [Line Items] |
Interest rate | 2.50%
Pricing Tier1 | Base Rate Plus |
Subsequent Event [Line Items] |
Interest rate | 1.50%
Pricing Tier2 |
Subsequent Event [Line Items] |
Commitment Fee | 0.23%
Letter of Credit Fee | 2.25%
Pricing Tier2 | Maximum |
Subsequent Event [Line Items] |
Net Leverage Ratio | 375.00%
Pricing Tier2 | Minimum |
Subsequent Event [Line Items] |
Net Leverage Ratio | 325.00%
Pricing Tier2 | SOFR |
Subsequent Event [Line Items] |
Interest rate | 2.25%
Pricing Tier2 | Base Rate Plus |
Subsequent Event [Line Items] |
Interest rate | 1.25%
Pricing Tier3 |
Subsequent Event [Line Items] |
Commitment Fee | 0.20%
Letter of Credit Fee | 2.00%
Pricing Tier3 | Maximum |
Subsequent Event [Line Items] |
Net Leverage Ratio | 325.00%
Pricing Tier3 | Minimum |
Subsequent Event [Line Items] |
Net Leverage Ratio | 250.00%
Pricing Tier3 | SOFR |
Subsequent Event [Line Items] |
Interest rate | 2.00%
Pricing Tier3 | Base Rate Plus |
Subsequent Event [Line Items] |
Interest rate | 1.00%
Pricing Tier4 |
Subsequent Event [Line Items] |
Commitment Fee | 0.15%
Letter of Credit Fee | 1.75%
Pricing Tier4 | Maximum |
Subsequent Event [Line Items] |
Net Leverage Ratio | 250.00%
Pricing Tier4 | Minimum |
Subsequent Event [Line Items] |
Net Leverage Ratio | 175.00%
Pricing Tier4 | SOFR |
Subsequent Event [Line Items] |
Interest rate | 1.75%
Pricing Tier4 | Base Rate Plus |
Subsequent Event [Line Items] |
Interest rate | 0.75%
Pricing Tier5 |
Subsequent Event [Line Items] |
Commitment Fee | 0.15%
Letter of Credit Fee | 1.50%
Pricing Tier5 | Maximum |
Subsequent Event [Line Items] |
Net Leverage Ratio | 175.00%
Pricing Tier5 | SOFR |
Subsequent Event [Line Items] |
Interest rate | 1.50%
Pricing Tier5 | Base Rate Plus |
Subsequent Event [Line Items] |
Interest rate | 0.50%

X
- Definition Letter of credit fee percentage. + References No definition available. + Details
Name: | meg_LetterOfCreditFeePercentage
Namespace Prefix: | meg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Net leverage ratio. + References No definition available. + Details
Name: | meg_NetLeverageRatio
Namespace Prefix: | meg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
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_TwentyTwentyFiveCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=meg_PricingTier1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=meg_PricingTier2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=meg_PricingTier3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=meg_PricingTier4Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=meg_PricingTier5Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |