XML 98 R60.htm IDEA: XBRL DOCUMENT
v3.22.4

Intangible Assets - Narrative (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Finite-Lived Intangible Assets [Line Items] |  |  |
Amortization of expense of intangible assets | $ 9.1 | $ 9.7 | $ 11.0
Impairment, Intangible Asset, Finite-Lived, Statement of Income or Comprehensive Income [Extensible Enumeration] | Impairment charges |  |
Services | COVID-19 |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |
Impairment charge of long-lived assets |  |  | 28.8
Software/Technology |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |
Amortization of expense of intangible assets | $ 2.9 | $ 3.0 | 3.6
Software/Technology | Services | COVID-19 |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |
Impairment charge of long-lived assets |  |  | 25.9
Customer relationships | Services | COVID-19 |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |
Impairment charge of long-lived assets |  |  | 2.2
Other | Services | COVID-19 |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |
Impairment charge of long-lived assets |  |  | 0.5
Covenants not to compete | Services | COVID-19 |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |
Impairment charge of long-lived assets |  |  | $ 0.2

X
- Definition The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274 + Details
Name: | us-gaap_AmortizationOfIntangibleAssets
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_FiniteLivedIntangibleAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes impairment of finite-lived intangible asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275 + Details
Name: | us-gaap_ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of a finite-lived intangible asset to fair value. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 3 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275 + Details
Name: | us-gaap_ImpairmentOfIntangibleAssetsFinitelived
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mg_ServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_UnusualOrInfrequentItemAxis=mg_COVID19PandemicMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_ComputerSoftwareIntangibleAssetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_OtherIntangibleAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_NoncompeteAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |