XML 89 R82.htm IDEA: XBRL DOCUMENT
v3.25.3

Net Income (Loss) Per Share - Common Stock Equivalents Excluded from Calculation of Diluted Net Loss per Share Attributable to Common Stockholders (Parenthetical) (Details) - shares | 9 Months Ended
--- | ---
Sep. 30, 2025 | Sep. 30, 2024
Earnings Per Share [Abstract] |  |
Number of shares out of money | 2,950,220 | 7,891,144

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