XML 49 R37.htm IDEA: XBRL DOCUMENT
v3.20.4

Debt - Additional Information (Detail) - USD ($) $ in Thousands | 6 Months Ended |
--- | --- | ---
Dec. 31, 2020 | Jun. 30, 2020
Credit Agreement Terms |  |
Line Of Credit Facility Maximum Borrowing Capacity New Agreement Amount | $ 200,000 |
Senior secured revolving credit facility | $ 200,000 | $ 300,000
Line Of Credit Facility Expiration Date | Nov. 02, 2023 |
Sublimit on Australian Dollar, Canadian Dollar, Euro and Pounds Sterling | $ 75,000 |
Additional Margin on alternate base rate loans, Minimum | 1.00% |
Additional Margin on alternate base rate loans, Maximum | 2.00% |
Additional Margin on Adjusted LIBO, EURIBOR and CDOR loans, Minimum | 2.00% |
Additional Margin on Adjusted LIBO, EURIBOR and CDOR loans, Maximum | 3.00% |
Additional Margin on Canadian prime rate loans, Minimum | 2.50% |
Additional Margin on Canadian prime rate loans, Maximum | 3.50% |
Leverage Ratio, Maximum | 3.00 |
Leverage Ratio, Minimum | 1.00 |
Fixed Charge Coverage Ratio, Maximum | 1.25 |
Fixed Charge Coverage Ratio, Minimum | 1.00 |
Fixed Charge Coverage Ratio Share Repurchase Exclusion | $ 7,500 |
Amount of Limit on Asset Dispositions | 20,000 |
Stock Repurchase Program, Authorized Amount | $ 30,000 |
Line of Credit Facility [Line Items] |  |
Unused credit facility fee, minimum percentage | 0.35% |
Unused credit facility fee, maximum percentage | 0.50% |

X
- Definition Amount of limit on asset dispositions. + References No definition available. + Details
Name: | mtrx_AmountOfLimitOnAssetDispositions
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Fixed charge coverage ratio maximum. + References No definition available. + Details
Name: | mtrx_FixedChargeCoverageRatioMaximum
Namespace Prefix: | mtrx_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fixed charge coverage ratio minimum. + References No definition available. + Details
Name: | mtrx_FixedChargeCoverageRatioMinimum
Namespace Prefix: | mtrx_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit basis spread on Adjusted LIBO, EURIBO and CDOR loans rate maximum. + References No definition available. + Details
Name: | mtrx_LineOfCreditBasisSpreadOnAdjustedLIBOEURIBOandCDORMaximum
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit basis spread on Adjusted LIBO, EURIBO and CDOR loans rate minimum. + References No definition available. + Details
Name: | mtrx_LineOfCreditBasisSpreadOnAdjustedLIBOEURIBOandCDORMinimum
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit basis spread on alternate base rate maximum. + References No definition available. + Details
Name: | mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit basis spread on alternate base rate minimum. + References No definition available. + Details
Name: | mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit basis spread on Canadian prime rate maximum. + References No definition available. + Details
Name: | mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit basis spread on Canadian prime rate minimum. + References No definition available. + Details
Name: | mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fixed Charge Coverage Ratio Share Repurchase Exclusion + References No definition available. + Details
Name: | mtrx_MtrxFixedChargeCoverageRatioShareRepurchaseExclusion
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line Of Credit Facility Maximum Borrowing Capacity, New Agreement Amount + References No definition available. + Details
Name: | mtrx_MtrxLineOfCreditFacilityMaximumBorrowingCapacityNewAgreementAmount
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line of Credit Facility-Maximum Unused Capacity Fee, Percentage + References No definition available. + Details
Name: | mtrx_MtrxLineofCreditFacilityMaximumUnusedCapacityFeePercentage
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of Credit Facility-Minimum Unused Capacity Fee, Percentage + References No definition available. + Details
Name: | mtrx_MtrxLineofCreditFacilityMinimumUnusedCapacityFeePercentage
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Credit Facility Expiration Date + References No definition available. + Details
Name: | mtrx_MtrxLineofcreditfacilityexpirationdate
Namespace Prefix: | mtrx_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Senior Leverage Ratio Max + References No definition available. + Details
Name: | mtrx_SeniorLeverageRatioMax
Namespace Prefix: | mtrx_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Senior Leverage Ratio Minimum + References No definition available. + Details
Name: | mtrx_SeniorLeverageRatioMin
Namespace Prefix: | mtrx_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Sublimit on Australian Dollar, Canadian Dollar, Euro and Pounds Sterling + References No definition available. + Details
Name: | mtrx_SublimitonAustralianDollarCanadianDollarEuroandPoundsSterling
Namespace Prefix: | mtrx_
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_AcquiredIndefiniteLivedIntangibleAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant