XML 58 R43.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Leases [Abstract] |
Schedule of Supplemental Balance Sheet Information | The Company’s Consolidated Balance Sheets include the following related to operating leases as of December 31, 2021 and 2020:
Leases |  | Classification |  | 2021 |  | 2020
Assets: |  |  |  |  |  |
ROU assets |  | Other Assets |  | $ | 42,451 |  |  | $ | 46,728 |
Liabilities: |  |  |  |  |  |
ROU liability - current |  | Accrued and other current liabilities |  | $ | 10,040 |  |  | $ | 10,348 |
ROU liability - long-term |  | Other liabilities |  | 34,030 |  |  | 37,689 |
Total ROU liabilities |  |  |  | $ | 44,070 |  |  | $ | 48,037 |
Schedule of Components of Lease Costs and Other Information Related to Leases | The components of lease costs for the year ended December 31, 2021 and 2020 are as follows:
|  | Classification |  | 2021 |  | 2020
Finance lease expense: |  |  |  |  |  |
Amortization of ROU assets |  | Depreciation and amortization |  | $ | 4,111 |  |  | $ | 4,544 |
Interest on lease liabilities |  | Interest expense |  | 721 |  |  | 847 |
Operating lease expense |  | Cost of revenue; Selling, general & administrative expenses |  | 13,042 |  |  | 13,383 |
Short-term lease expense |  | Cost of revenue; Selling, general & administrative expenses |  | 27 |  |  | 66 |
Variable lease expense |  | Cost of revenue; Selling, general & administrative expenses |  | 2,507 |  |  | 838 |
Total |  |  |  | $ | 20,408 |  |  | $ | 19,678 |
Additional information related to leases as of December 31, 2021 and 2020 is as follows:
|  | 2021 |  | 2020
Cash paid for amounts included in the measurement of lease liabilities for finance and operating leases: |  |  |  |
Finance - financing cash flows |  | $ | 4,060 |  |  | $ | 4,095 |
Finance - operating cash flows |  | 721 |  |  | 847 |
Operating - operating cash flows |  | 13,098 |  |  | 13,246 |
ROU assets obtained in the exchange for lease liabilities: |  |  |  |
Finance leases |  | $ | 2,923 |  |  | 2,849 |
Operating leases |  | 7,021 |  |  | 9,934 |
Weighted-average remaining lease term (in years): |  |  |  |
Finance leases |  | 5.4 |  | 5.7
Operating leases |  | 5.3 |  | 5.8
Weighted-average discount rate: |  |  |  |
Finance leases |  | 5.3 | % |  | 5.7 | %
Operating leases |  | 5.7 | % |  | 5.7 | %
Schedule of Maturities of Operating Lease Liabilities | Maturities of lease liabilities as of December 31, 2021 is as follows:
| Finance |  | Operating
2022 | $ | 5,544 |  |  | $ | 12,078 |
2023 | 3,817 |  |  | 10,602 |
2024 | 2,887 |  |  | 8,418 |
2025 | 1,296 |  |  | 6,049 |
2026 | 646 |  |  | 4,926 |
Thereafter | 441 |  |  | 8,580 |
Total | 14,631 |  |  | 50,653 |
Less: Present value discount | 1,114 |  |  | 6,583 |
Lease liability | $ | 13,517 |  |  | $ | 44,070 |
Schedule of Maturities of Finance Lease Liabilities | Maturities of lease liabilities as of December 31, 2021 is as follows:
| Finance |  | Operating
2022 | $ | 5,544 |  |  | $ | 12,078 |
2023 | 3,817 |  |  | 10,602 |
2024 | 2,887 |  |  | 8,418 |
2025 | 1,296 |  |  | 6,049 |
2026 | 646 |  |  | 4,926 |
Thereafter | 441 |  |  | 8,580 |
Total | 14,631 |  |  | 50,653 |
Less: Present value discount | 1,114 |  |  | 6,583 |
Lease liability | $ | 13,517 |  |  | $ | 44,070 |

X
- Definition Assets And Liabilities, Lessee + References No definition available. + Details
Name: | mg_AssetsAndLiabilitiesLesseeTableTextBlock
Namespace Prefix: | mg_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of undiscounted cash flows of finance lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to finance lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918701-209980 + Details
Name: | us-gaap_FinanceLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_LeasesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration