XML 69 R60.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Leases - Narrative (Details) - USD ($) $ in Thousands | 1 Months Ended | 3 Months Ended | 9 Months Ended |
--- | --- | --- | --- | ---
Feb. 28, 2022 | Sep. 30, 2022 | Sep. 30, 2021 | Sep. 30, 2022 | Sep. 30, 2021 | Dec. 31, 2021
Lessee, Lease, Description [Line Items] |  |  |  |  |  |
ROU liabilities |  | $ 39,181 |  | $ 39,181 |  | $ 44,070
Total rent payments |  |  |  | 9,394 | $ 9,870 |
ROU finance lease assets |  | $ 12,700 |  | $ 12,700 |  | $ 13,800
Finance Lease, Right-of-Use Asset, Statement of Financial Position [Extensible List] |  | Property, plant and equipment, net |  | Property, plant and equipment, net |  | Property, plant and equipment, net
Operating Lease Arrangement | Company's Headquarters |  |  |  |  |  |
Lessee, Lease, Description [Line Items] |  |  |  |  |  |
ROU liabilities |  | $ 2,000 |  | $ 2,000 |  | $ 2,900
Total rent payments |  | $ 200 | $ 300 | $ 700 | $ 1,000 |
Percentage of reduction of rental payments | 12.50% |  |  |  |  |

X
- Definition Operating Lease, Percentage Of Reduction Of Rental Payments + References No definition available. + Details
Name: | mg_OperatingLeasePercentageOfReductionOfRentalPayments
Namespace Prefix: | mg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of right-of-use asset from finance lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_FinanceLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes finance lease right-of-use asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=123391704&loc=SL77918631-209977 + Details
Name: | us-gaap_FinanceLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

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_LesseeLeaseDescriptionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 5 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (g)(1) -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980 + Details
Name: | us-gaap_OperatingLeasePayments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=mg_OperatingLeaseArrangementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |