XML 46 R37.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Description of Business and Basis of Presentation (Details) - USD ($) $ in Millions | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2022 | Sep. 30, 2021 | Sep. 30, 2022 | Sep. 30, 2021
Tax Credit Carryforward [Line Items] |  |  |  |
Effective income tax rate | 31.10% | 50.80% | 48.50% | 44.40%
Valuation allowance as of period end | $ 0.9 |  | $ 0.9 |
Foreign Tax Authority |  |  |  |
Tax Credit Carryforward [Line Items] |  |  |  |
Valuation allowance recorded during the period related to deferred tax assets | $ 0.1 |  | $ 0.9 |
State and Foreign Jurisdictions |  |  |  |
Tax Credit Carryforward [Line Items] |  |  |  |
Valuation allowance recorded during the period related to deferred tax assets |  | $ 1.2 |  |
Domestic Tax Authority and State Jurisdictions |  |  |  |
Tax Credit Carryforward [Line Items] |  |  |  |
Valuation allowance recorded during the period related to deferred tax assets |  |  |  | $ 1.2

X
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319 + Details
Name: | us-gaap_EffectiveIncomeTaxRateContinuingOperations
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to increase (decrease) in the valuation allowance for deferred tax assets. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319 + Details
Name: | us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_TaxCreditCarryforwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_ForeignCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=mg_StateAndForeignJurisdictionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=mg_DomesticTaxAuthorityAndStateJurisdictionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |