XML 104 R93.htm IDEA: XBRL DOCUMENT
v3.23.2

Net Loss Per Share - Common Stock Equivalents Excluded from Calculation of Diluted Net Loss per Share Attributable to Common Stockholders (Parenthetical) (Details) - shares | 6 Months Ended
--- | ---
Jun. 30, 2023 | Jun. 30, 2022
Earnings Per Share [Abstract] |  |
Number of shares out of money | 7,578,724 | 6,523,097

X
- Definition Number of shares out of money. + References No definition available. + Details
Name: | meg_NumberOfSharesOutOfMoney
Namespace Prefix: | meg_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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