XML 91 R71.htm IDEA: XBRL DOCUMENT
v3.21.2

Restructuring Costs (Details) - USD ($) | 12 Months Ended | 18 Months Ended
--- | --- | ---
Jun. 30, 2021 | Jun. 30, 2020 | Jun. 30, 2019 | Jun. 30, 2021
Restructuring Cost and Reserve [Line Items] |  |  |  |
Severance costs and other benefits | $ 5,545,000 |  |  | $ 14,318,000
Facility costs | 785,000 |  |  | 4,497,000
Restructuring costs | 6,756,000 | $ 14,010,000 | $ 0 | 20,766,000
Other intangible asset impairments | 0 |  |  | 1,525,000
Other Restructuring Costs | 426,000 |  |  | 426,000
Restructuring Reserve | 2,435,000 | 2,403,000 |  | 2,435,000
Restructuring costs | 4,026,000 |  |  |
Payments for Restructuring | 3,484,000 |  |  |
Adjustment to restructuring reserve | (510,000) |  |  |
Utility and Power Infrastructure |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Severance costs and other benefits | 1,199,000 |  |  | 2,539,000
Facility costs | 113,000 | 348,000 |  | 1,150,000
Restructuring costs | 1,312,000 |  |  | 4,037,000
Other intangible asset impairments | 0 |  |  |
Process and Industrial Facilities |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Severance costs and other benefits | 2,951,000 |  |  | 9,118,000
Facility costs | 431,000 | $ 3,188,000 |  | 375,000
Restructuring costs | 3,808,000 |  |  | 13,107,000
Other intangible asset impairments | 0 |  |  |
Other Restructuring Costs | 426,000 |  |  | 426,000
Storage and Terminal Solutions |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Severance costs and other benefits | 1,231,000 |  |  | 1,578,000
Facility costs | 159,000 |  |  | 879,000
Restructuring costs | 1,390,000 |  |  | 2,457,000
Unallocated Corporate Costs |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Severance costs and other benefits | 164,000 |  |  | 1,083,000
Facility costs | 82,000 |  |  | 82,000
Restructuring costs | 246,000 |  |  | 1,165,000
Other intangible asset impairments | $ 0 |  |  | $ 0

X
- Definition Adjustment to restructuring reserve + References No definition available. + Details
Name: | mtrx_AdjustmentToRestructuringReserve
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Current year outstanding restructuring costs incurred + References No definition available. + Details
Name: | mtrx_CurrentYearOutstandingRestructuringCostsIncurred
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Includes, but is not limited to, one-time termination benefits, termination of an operating lease or other contract, consolidating or closing facilities, and relocating employees, and termination benefits associated with an ongoing benefit arrangement. Excludes expenses associated with special or contractual termination benefits, a discontinued operation or an asset retirement obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_BusinessExitCosts1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of impairment loss resulting from write-down of assets, excluding financial assets and goodwill, lacking physical substance and having a projected indefinite period of benefit to fair value. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of other expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses associated with a discontinued operation or an asset retirement obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_OtherRestructuringCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash payments made as the result of exit or disposal activities. Excludes payments associated with a discontinued operation or an asset retirement obligation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 17 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3367-108585 + Details
Name: | us-gaap_PaymentsForRestructuring
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109237686&loc=d3e17752-110868 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.P.3) -URI http://asc.fasb.org/extlink&oid=115931487&loc=d3e140864-122747 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(1)) -URI http://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747 + Details
Name: | us-gaap_RestructuringCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_RestructuringCostAndReserveLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB TOPIC 5.P.4(b)(2)) -URI http://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747 + Details
Name: | us-gaap_RestructuringReserve
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of expenses for special or contractual termination benefits provided to current employees involuntarily terminated under a benefit arrangement associated exit or disposal activities pursuant to an authorized plan. Excludes expenses related to one-time termination benefits, a discontinued operation or an asset retirement obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_SeveranceCosts1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtrx_UtilityAndPowerInfrastructureSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtrx_ProcessAndIndustrialFacilitiesSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtrx_StorageAndTerminalSolutionsSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtrx_UnallocatedCorporateCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |