XML 22 R42.htm IDEA: XBRL DOCUMENT
v3.20.1

Commitments and Contingencies - Additional Information (Detail) - USD ($) $ in Millions | Mar. 31, 2020 | Jun. 30, 2019
--- | --- | ---
Project Unapproved Change Orders and Claims [Line Items] |  |
Unapproved change orders and claims | $ 10.8 | $ 10.1

X
- Definition [Line Items] for Power Generation Project Unapproved Change Orders and Claims [Table] + References No definition available. + Details
Name: | mtrx_PowerGenerationProjectUnapprovedChangeOrdersandClaimsLineItems
Namespace Prefix: | mtrx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost incurred on construction contract for unapproved change order, claim, or similar item subject to uncertainty. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 910 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6471471&loc=d3e48698-109348 + Details
Name: | us-gaap_UnapprovedChangeOrdersAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant