XML 47 R27.htm IDEA: XBRL DOCUMENT
v3.21.2

Revenue (Tables) | 12 Months Ended
--- | ---
Jun. 30, 2021
Revenue [Abstract] |
Contract with Customer, Asset and Liability [Table Text Block] |
|  | June 30, 2021 |  | June 30, 2020 |  | Change
|  | (In thousands)
Costs and estimated earnings in excess of billings on uncompleted contracts |  | $ | 30,774 |  |  | $ | 59,548 |  |  | $ | (28,774) |
Billings on uncompleted contracts in excess of costs and estimated earnings |  | (53,832) |  |  | (63,889) |  |  | 10,057 |
Net contract liabilities |  | $ | (23,058) |  |  | $ | (4,341) |  |  | $ | (18,717) |
Disaggregation of Revenue [Table Text Block] | Geographic Disaggregation:
|  | Fiscal Years Ended
|  | June 30, 2021 |  | June 30, 2020 |  | June 30, 2019
|  | (In thousands)
United States |  | $ | 604,739 |  |  | $ | 1,020,083 |  |  | $ | 1,367,844 |
Canada |  | 61,703 |  |  | 70,133 |  |  | 41,410 |
Other international |  | 6,956 |  |  | 10,722 |  |  | 7,426 |
Total |  | $ | 673,398 |  |  | $ | 1,100,938 |  |  | $ | 1,416,680 |
Contract Type Disaggregation:
|  | Fiscal Years Ended
|  | June 30, 2021 |  | June 30, 2020 |  | June 30, 2019
|  | (In thousands)
Fixed-price contracts |  | $ | 444,042 |  |  | $ | 685,559 |  |  | $ | 748,007 |
Time and materials and other cost reimbursable contracts |  | 229,356 |  |  | 415,379 |  |  | 668,673 |
Total |  | $ | 673,398 |  |  | $ | 1,100,938 |  |  | $ | 1,416,680 |

X
- Definition Revenue [Abstract] + References No definition available. + Details
Name: | mtrx_RevenueAbstract
Namespace Prefix: | mtrx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of receivable, contract asset, and contract liability from contract with customer. Includes, but is not limited to, change in contract asset and contract liability. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130551-203045 + Details
Name: | us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045 + Details
Name: | us-gaap_DisaggregationOfRevenueTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration