XML 52 R39.htm IDEA: XBRL DOCUMENT
v3.20.2

Income Taxes (Details) - USD ($) | 3 Months Ended
--- | ---
Sep. 30, 2020 | Sep. 30, 2019
Income Tax Disclosure [Abstract] |  |
Effective Income Tax Rate Reconciliation, Percent | (9.80%) | 30.60%
Expected effective tax rate, remainder of year | 27.00% |
Effective Income Tax Rate Reconciliation, Deduction, Other, Amount | $ 1,000,000.0 |
CARES Act Deferred Payroll Tax Liability | $ 7,400,000 |

X
- Definition Expected effective tax rate, remainder of year + References No definition available. + Details
Name: | mtrx_Expectedeffectivetaxrateremainderofyear
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition CARES ACT Deferred Payroll Tax Liability + References No definition available. + Details
Name: | mtrx_MtrxCARESACTDeferredPayrollTaxLiability
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32687-109319 + Details
Name: | us-gaap_EffectiveIncomeTaxRateContinuingOperations
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other deductions. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32687-109319 + Details
Name: | us-gaap_IncomeTaxReconciliationDeductionsOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration