XML 70 R60.htm IDEA: XBRL DOCUMENT
v3.23.1

Commitments and Contingencies (Details) $ in Thousands |  | 1 Months Ended | 3 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | ---
Oct. 05, 2021 USD ($) | Dec. 31, 2019 USD ($) weld | Mar. 31, 2023 USD ($) claim | Mar. 31, 2021 USD ($) | Dec. 31, 2020 USD ($) | Dec. 31, 2022 USD ($) | Jan. 01, 2020 USD ($)
Litigation |  |  |  |  |  |  |
Accounts receivable, net |  |  | $ 120,425 |  |  | $ 123,657 |
Allowance for credit losses |  |  | 3,641 |  |  | 4,110 |
Pension plan withdrawal, potential liability |  |  | 2,519 |  |  | 2,519 |
Texas Customer |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |
Accounts receivable, net |  | $ 1,400 |  |  |  |  |
Amount of damages claimed |  | 1,400 |  |  |  |  |
Litigation and Commercial Claims | Various Pipeline Projects for Texas Customer |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |
Amount of damages claimed |  | $ 7,600 |  |  |  |  |
Litigation and Commercial Claims | Texas Customer |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |
Accounts receivable, net |  |  | $ 1,400 |  |  |  |
Number or welds not in compliance | weld |  | 66 |  |  |  |  |
Number of welds inspected (over) | weld |  | 16,000 |  |  |  |  |
Allowance for credit losses |  | $ 1,400 |  |  |  |  |
Litigation and Commercial Claims | Texas Customer | Various Pipeline Projects for Texas Customer |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |
Amount of damages claimed |  | $ 1,400 |  |  |  |  |
Contingency charges |  |  |  |  |  | $ 100 |
Class Action |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |
Contingency charges |  |  |  | $ 1,600 | $ 800 |  |
Number of proceedings | claim |  |  | 2 |  |  |  |
Number of consolidated cases | claim |  |  | 2 |  |  |  |
Settlement liability | $ 2,300 |  |  |  |  |  |
Class Action on Behalf of Employees |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |
Number of proceedings | claim |  |  | 1 |  |  |  |
Class Action on Behalf of State of California |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |
Number of proceedings | claim |  |  | 1 |  |  |  |
Pension Related Contingencies |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |
Pension plan withdrawal, potential liability |  |  | $ 2,500 |  |  |  |
Severance and Labor Disputes | Foreign Subsidiary | Right to Customer Contracts | Disposal Group, Disposed of by Sale, Not Discontinued Operations | Germany |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |
Contingency charges |  |  | 100 |  |  |  |
Consideration received on sale of subsidiary |  |  |  |  |  |  | $ 100
Estimated severance obligations |  |  | 200 |  |  |  |
Payments of severance obligations |  |  | 400 |  |  |  |
Reversal of severance obligations |  |  | $ 1,000 |  |  |  |

X
- Definition Loss Contingency, Consolidated Claims Filed, Number + References No definition available. + Details
Name: | mg_LossContingencyConsolidatedClaimsFiledNumber
Namespace Prefix: | mg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loss Contingency, Number Of Welds Alleged Not In Compliance + References No definition available. + Details
Name: | mg_LossContingencyNumberOfWeldsAllegedNotInCompliance
Namespace Prefix: | mg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Loss Contingency, Number Of Welds Inspected + References No definition available. + Details
Name: | mg_LossContingencyNumberOfWeldsInspected
Namespace Prefix: | mg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of allowance for credit loss on accounts receivable, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(4)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of consideration received or receivable for the disposal of assets and liabilities, including discontinued operation. + References No definition available. + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount awarded to other party in judgment or settlement of litigation. + References No definition available. + Details
Name: | us-gaap_LitigationSettlementAmountAwardedToOtherParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_LossContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of loss contingency liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 Reference 2: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349 + Details
Name: | us-gaap_LossContingencyAccrualAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in loss contingency liability. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyAccrualCarryingValuePeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash outflow reducing loss contingency liability. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyAccrualPayments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The value (monetary amount) of the award the plaintiff seeks in the legal matter. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 + Details
Name: | us-gaap_LossContingencyDamagesSoughtValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of loss pertaining to the specified contingency that was charged against earnings in the period, including the effects of revisions in previously reported estimates. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyLossInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The total number of new claims filed pertaining to a loss contingency during the period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 + Details
Name: | us-gaap_LossContingencyNewClaimsFiledNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the obligation recognized by withdrawing from a pension or postretirement benefit plan to which two or more unrelated employers contribute where assets contributed by one participating employer may be used to provide benefits to employees of other participating employers. + References No definition available. + Details
Name: | us-gaap_MultiemployerPlansWithdrawalObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The total amount due to the entity within one year of the balance sheet date (or one operating cycle, if longer) from outside sources, including trade accounts receivable, notes and loans receivable, as well as any other types of receivables, net of allowances established for the purpose of reducing such receivables to an amount that approximates their net realizable value. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(5)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-06(3)) -URI https://asc.fasb.org/extlink&oid=120401414&loc=d3e604059-122996 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 10 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766 + Details
Name: | us-gaap_ReceivablesNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | srt_MajorCustomersAxis=mg_TexasCustomerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=us-gaap_CollectibilityOfReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_LitigationCaseAxis=mg_VariousPipelineProjectsForTexasCustomerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=mg_ClassActionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=mg_ClassActionOnBehalfOfCurrentAndFormerEmployeesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=mg_ClassActionOnBehalfOfStateOfCaliforniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=us-gaap_WithdrawalFromMultiemployerDefinedBenefitPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=mg_SeveranceandLaborDisputesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=srt_AffiliatedEntityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=mg_RightToCustomerContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DisposalGroupClassificationAxis=us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_DE
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |