XML 49 R38.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Line of Credit Facility (Details) - USD ($) $ in Thousands | 2 Months Ended | 6 Months Ended |  |
--- | --- | --- | --- | ---
Sep. 09, 2021 | Dec. 31, 2021 | Jan. 31, 2022 | Jun. 30, 2021
Debt Disclosure [Abstract] |  |  |  |
Line of Credit Facility, Initiation Date |  | Sep. 09, 2021 |  |
Line of Credit Facility, Increase (Decrease), Net |  | $ 15,000 |  |
Line of Credit Facility, Current Borrowing Capacity |  | 70,100 |  |
Line of Credit Facility, Remaining Borrowing Capacity |  | $ 36,700 |  |
Asset Backed Credit Facility Federal Funds Rate Addition |  | 0.50% |  |
Asset Backed Credit Facility LIBOR Rate One Month Add On |  | 1.00% |  |
Asset Backed Credit Facility Base Rate Add On |  | 1.00% |  |
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 Adjusted LIBO and CDOR Minimum |  | 2.00% |  |
Line Of Credit Basis Spread On Adjusted LIBO and CDOR Maximum |  | 2.50% |  |
Unused Credit Facility Fee |  | 0.25% |  |
Asset Backed Line of Credit Balance Limit for Fixed Charge Coverage Ratio |  | $ 15,000 |  |
Asset Backed Line of Credit Percentage Limit for Fixed Charge Coverage Ratio |  | 15.00% |  |
Asset Backed Credit Facility Fixed Charge Coverage Ratio Requirement |  | 1.00 |  |
Bank of Montreal |  |  |  |
Debt Disclosure [Abstract] |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  | $ 100,000 |  |
Line of Credit Facility [Line Items] |  |  |  |
Letters of Credit Outstanding, Amount |  | $ 33,400 | $ 23,600 |
Line of Credit Facility, Expiration Date |  | Sep. 09, 2026 |  |
Line of Credit Facility, Maximum Borrowing Capacity |  | $ 100,000 |  |
J.P. Morgan Chase Bank |  |  |  |
Debt Disclosure [Abstract] |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  | $ 200,000
Line of Credit Facility [Line Items] |  |  |  |
Letters of Credit Outstanding, Amount |  | $ 9,500 | $ 200 | 41,300
Line of Credit Facility, Expiration Date | Nov. 02, 2023 |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  | $ 200,000

X
- Definition Asset Backed Credit Facility Base Rate Add On + References No definition available. + Details
Name: | mtrx_AssetBackedCreditFacilityBaseRateAddOn
Namespace Prefix: | mtrx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Asset Backed Credit Facility Fixed Charge Coverage Ratio Requirement + References No definition available. + Details
Name: | mtrx_AssetBackedCreditFacilityFixedChargeCoverageRatioRequirement
Namespace Prefix: | mtrx_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line Of Credit Basis Spread On Adjusted LIBO and CDOR 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 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 mtrx:AssetBackedCreditFacilityLIBORRateOneMonthAddOn + References No definition available. + Details
Name: | mtrx_MtrxAssetBackedCreditFacilityLIBORRateOneMonthAddOn
Namespace Prefix: | mtrx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition mtrx:AssetBackedCreditFacility_FederalFundsRateAddition + References No definition available. + Details
Name: | mtrx_MtrxAssetBackedCreditFacility_FederalFundsRateAddition
Namespace Prefix: | mtrx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition mtrx:AssetBackedLineofCreditBalanceLimitforFixedChargeCoverageRatio + References No definition available. + Details
Name: | mtrx_MtrxAssetBackedLineofCreditBalanceLimitforFixedChargeCoverageRatio
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition mtrx:AssetBackedLineofCreditPercentageLimitforFixedChargeCoverageRatio + References No definition available. + Details
Name: | mtrx_MtrxAssetBackedLineofCreditPercentageLimitforFixedChargeCoverageRatio
Namespace Prefix: | mtrx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any 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_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Amount of increase (decrease) of the credit facility. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Date the credit facility first became available, 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_LineOfCreditFacilityInitiationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
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 borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + 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_LineOfCreditFacilityRemainingBorrowingCapacity
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

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=mtrx_BankOfMontrealMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=mtrx_JPMorganChaseBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |