XML 88 R77.htm IDEA: XBRL DOCUMENT
v3.21.1

Convertible and Redeemable Series A-2 Preferred Stock - Additional Information (Details) - USD ($) $ / shares in Units, $ in Thousands |  | 3 Months Ended |
--- | --- | --- | ---
Apr. 13, 2020 | Mar. 31, 2021 | Mar. 31, 2020 | Dec. 31, 2020
Temporary Equity [Line Items] |  |  |  |
Period between issuance and expiration of outstanding warrant | 10 years |  |  |
Proceeds from the Series A-2 and Warrant | $ 175,000 |  |  |
Percentage of dividends accrued | 14.20% |  |  |
Preferred stock, dividends paid |  | $ 4,100 |  |
Compound embedded derivative, change in value |  | $ (602) | $ (29,627) |
Convertible And Redeemable Series A-2 Preferred Stock |  |  |  |
Temporary Equity [Line Items] |  |  |  |
Number of shares issued | 17,500 | 17,500 |  | 17,500
Par value per share | $ 0.0001 | $ 0.0001 |  | $ 0.0001
Debt issuance costs, net | $ 1,300 |  |  |
Percentage of dividends accrued | 15.00% |  |  |
Preferred stock, dividends paid |  | $ 4,100 |  |
Percentage of discount on common stock market price |  | 15.00% |  |
Percentage of dividend rate stepped downs per year |  | 9.00% |  |
Percentage of dividend rate increase per annum in the event of noncompliance |  | 12.00% |  |
Number of days dividend increase rate applicable noncompliance event occurred |  | 90 days |  |
Percentage of dividend rate increase per annum upon noncompliance occurred and thereafter |  | 14.00% |  |
Number of times increase in debt incurrence test ratio |  | 4.5 |  |
Minimum repayment amount |  | $ 50,000 |  |
Minimum repayment amount drop down |  | $ 25,000 |  |
Temporary equity description |  | The Company may, at its option on any one or more dates, redeem all or a minimum portion (the lesser of (i) $25.0 million in aggregate stated value of the Convertible and Redeemable Series A-2 Preferred Stock and (ii) all of the Convertible and Redeemable Series A-2 Preferred Stock then outstanding) of the outstanding Convertible and Redeemable Series A-2 Preferred Stock in cash. |  |
Aggregate stated value of stock redeemed |  | $ 25,000 |  |
Aggregate liquidation preference |  | 182,200 |  | $ 182,200
Compound embedded derivative, fair value net |  | 21,500 |  |
Convertible And Redeemable Series A-2 Preferred Stock | Other Expense |  |  |  |
Temporary Equity [Line Items] |  |  |  |
Compound embedded derivative, change in value |  | 600 |  |
Convertible And Redeemable Series A-2 Preferred Stock | 60-Day Period Prior to Seventh Anniversary |  |  |  |
Temporary Equity [Line Items] |  |  |  |
Temporary equity convertible into common stock |  | 60,000 |  |
Convertible And Redeemable Series A-2 Preferred Stock | Year 5 |  |  |  |
Temporary Equity [Line Items] |  |  |  |
Temporary equity convertible into common stock |  | 60,000 |  |
Convertible And Redeemable Series A-2 Preferred Stock | Year 6 |  |  |  |
Temporary Equity [Line Items] |  |  |  |
Temporary equity convertible into common stock |  | $ 120,000 |  |

X
- Definition Minimum repayment amount. + References No definition available. + Details
Name: | meg_MinimumRepaymentAmount
Namespace Prefix: | meg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of days twelve percent dividend increase rate applicable noncompliance event occurred. + References No definition available. + Details
Name: | meg_NumberOfDaysTwelvePercentDividendIncreaseRateApplicableNoncomplianceEventOccurred
Namespace Prefix: | meg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of times increase in debt incurrence test ratio. + References No definition available. + Details
Name: | meg_NumberOfTimesIncreaseInDebtIncurrenceTestRatio
Namespace Prefix: | meg_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of discount on common stock market price. + References No definition available. + Details
Name: | meg_PercentageOfDiscountOnCommonStockMarketPrice
Namespace Prefix: | meg_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of dividend rate increase event of noncompliance. + References No definition available. + Details
Name: | meg_PercentageOfDividendRateIncreaseEventOfNoncompliance
Namespace Prefix: | meg_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of dividend rate increase upon noncompliance occurred and thereafter. + References No definition available. + Details
Name: | meg_PercentageOfDividendRateIncreaseUponNoncomplianceOccurredAndThereafter
Namespace Prefix: | meg_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of dividend rate steps downs per year. + References No definition available. + Details
Name: | meg_PercentageOfDividendRateStepsDownsPerYear
Namespace Prefix: | meg_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Reduced minimum repayment amount. + References No definition available. + Details
Name: | meg_ReducedMinimumRepaymentAmount
Namespace Prefix: | meg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Temporary equity convertible into common stock. + References No definition available. + Details
Name: | meg_TemporaryEquityConvertibleIntoCommonStock
Namespace Prefix: | meg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of paid and unpaid preferred stock dividends declared with the form of settlement in cash, stock and payment-in-kind (PIK). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 405 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817 + Details
Name: | us-gaap_DividendsPreferredStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Fair value as of the balance sheet date of the embedded derivative or group of embedded derivatives classified as an asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5624163-113959 + Details
Name: | us-gaap_EmbeddedDerivativeFairValueOfEmbeddedDerivativeAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Net Increase or Decrease in the fair value of the embedded derivative or group of embedded derivatives included in earnings in the period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 15 -URI http://asc.fasb.org/subtopic&trid=2229187 + Details
Name: | us-gaap_EmbeddedDerivativeGainLossOnEmbeddedDerivativeNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The percentage rate used to calculate dividend payments on preferred stock. + References No definition available. + Details
Name: | us-gaap_PreferredStockDividendRatePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash inflow from the issuance of common stock, preferred stock, treasury stock, stock options, and other types of equity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOrSaleOfEquity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Aggregate amount of redemption requirements for each class or type of redeemable stock classified as temporary equity for each of the five years following the latest balance sheet date. The redemption requirement does not constitute an unconditional obligation that will be settled in a variable number of shares constituting a monetary value predominantly indexed to (a) a fixed monetary amount known at inception, (b) an amount inversely correlated with the residual value of the entity, or (c) an amount determined by reference to something other than the fair value of issuer's stock. Does not include mandatorily redeemable stock. The exception is if redemption is required upon liquidation or termination of the reporting entity. + References No definition available. + Details
Name: | us-gaap_TemporaryEquityAggregateAmountOfRedemptionRequirement
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of the type or class of security that is classified as temporary equity, including its redemption features (for example, sinking fund, at option of holders, out of future earnings), conversion features, and the rights of holders, if any, in the event of default, including the effect, if any, on junior securities in the event a required dividend, sinking fund, or other redemption payment(s) is not paid. Include also a description of stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Section S99 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=65877616&loc=d3e177068-122764 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (27) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_TemporaryEquityDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_TemporaryEquityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate liquidation preference (or restrictions) of stock classified as temporary equity that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares. The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer. + References No definition available. + Details
Name: | us-gaap_TemporaryEquityLiquidationPreference
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Per share amount of par value or stated value of stock classified as temporary equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Section S99 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=65877616&loc=d3e177068-122764 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (27) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_TemporaryEquityParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of securities classified as temporary equity that have been sold (or granted) to the entity's shareholders. Securities issued include securities outstanding and securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(27)(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_TemporaryEquitySharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_WarrantsAndRightsOutstandingTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=meg_ConvertibleAndRedeemableSeriesATwoPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_OtherNonoperatingIncomeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtConversionByUniqueDescriptionAxis=meg_SixtyDayPeriodPriorToSeventhAnniversaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtConversionByUniqueDescriptionAxis=meg_YearFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtConversionByUniqueDescriptionAxis=meg_YearSixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |