XML 56 R45.htm IDEA: XBRL DOCUMENT
v3.23.2

Description of the Business and Basis of Presentation - Additional Information (Details) | 6 Months Ended
--- | ---
Jun. 30, 2023 Employee Office Segment
Organization, Consolidation and Presentation of Financial Statements [Abstract] |
Entity formation, month and year | 2013-11
Number of offices in which entity operates | Office | 100
Entity number of employees | Employee | 3,600
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 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/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

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