XML 52 R45.htm IDEA: XBRL DOCUMENT
v3.25.3

Description of the Business and Basis of Presentation - Additional Information (Details) | 9 Months Ended
--- | ---
Sep. 30, 2025 Employee Segment Office
Description Of Business And Basis Of Presentation [Line Items] |
Entity formation, month and year | 2013-11
Number of offices in which entity operates | Office | 120
Entity number of employees | Employee | 3,500
Number of operating segments | Segment | 3

X
- Definition Number of persons employed by the Entity + References No definition available. + Details
Name: | dei_EntityNumberOfEmployees
Namespace Prefix: | dei_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Description of the business and basis of presentation. + References No definition available. + Details
Name: | meg_DescriptionOfBusinessAndBasisOfPresentationLineItems
Namespace Prefix: | meg_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Entity formation, month and year. + References No definition available. + Details
Name: | meg_EntityFormationMonthAndYear
Namespace Prefix: | meg_
Data Type: | xbrli:gYearMonthItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of offices in which entity operates. + References No definition available. + Details
Name: | meg_NumberOfOfficesInWhichEntityOperates
Namespace Prefix: | meg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 49 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-49 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-18 + Details
Name: | us-gaap_NumberOfOperatingSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration