XML 63 R43.htm IDEA: XBRL DOCUMENT
v3.21.2

Debt (Details Textual) - USD ($) $ in Millions | 2 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 09, 2021 | Jun. 30, 2021
Debt (Textual) [Abstract] |  |
Senior secured revolving credit facility |  | $ 200
Line of credit facility, expiration date | Sep. 09, 2026 | Nov. 02, 2023
Prior credit agreement lowest margin |  | 1.00%
Prior credit agreement highest margin |  | 3.50%
Prior credit agreement lowest unused credit facility fee |  | 0.35%
Prior credit agreement highest unused credit facility fee |  | 0.50%
Additional Margin on alternate base rate loans, Minimum | 1.00% |
Additional Margin on alternate base rate loans, Maximum | 1.50% |
Line Of Credit Basis Spread On CDOR and LIBOR Minimum | 2.00% |
Line Of Credit Basis Spread On CDOR and LIBOR Maximum | 2.50% |
Unused Credit Facility Fee | 0.25% |

X
- Definition Debt. + References No definition available. + Details
Name: | mtrx_DebtTextualAbstract
Namespace Prefix: | mtrx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Line of credit basis spread on Adjusted LIBO and CDOR loans rate minimum. + References No definition available. + Details
Name: | mtrx_LineOfCreditBasisSpreadOnAdjustedLIBOAndCDORMinimum
Namespace Prefix: | mtrx_
Data Type: | dtr-types: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: | dtr-types: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: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Prior Credit Agreement Highest Margin + References No definition available. + Details
Name: | mtrx_PriorCreditAgreementHighestMargin
Namespace Prefix: | mtrx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Prior credit agreement highest unused credit facility fee + References No definition available. + Details
Name: | mtrx_PriorCreditAgreementHighestUnusedCreditFacilityFee
Namespace Prefix: | mtrx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Prior Credit Agreement Lowest Margin + References No definition available. + Details
Name: | mtrx_PriorCreditAgreementLowestMargin
Namespace Prefix: | mtrx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Prior credit agreement lowest unused credit facility fee + References No definition available. + Details
Name: | mtrx_PriorCreditAgreementLowestUnusedCreditFacilityFee
Namespace Prefix: | mtrx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date the credit facility terminates, in YYYY-MM-DD format. + 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_LineOfCreditFacilityExpirationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
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 The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration