XML 54 R43.htm IDEA: XBRL DOCUMENT
v3.22.4

Restructuring Costs (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended | 36 Months Ended
--- | --- | --- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2022
Restructuring costs by type [Abstract] |  |  |  |  |
Severance costs and other benefits | $ 1,044 | $ 111 | $ 2,313 | $ 136 | $ 17,226
Facility costs | 126 | 1 | 128 | 17 | 4,659
Impairment of Intangible Assets, Finite-lived | 0 | 0 | 0 | 0 | 1,525
Other Restructuring Costs | 108 | 583 | 124 | 1,147 | 567
Restructuring costs | 1,278 | 695 | 2,565 | 1,300 | 23,977
Restructuring cost - closure of office in the second quarter of fiscal 2023 | 700 |  |  |  |
Utility and Power Infrastructure |  |  |  |  |
Restructuring costs by type [Abstract] |  |  |  |  |
Severance costs and other benefits | 0 | 36 | 37 | 45 | 2,621
Facility costs | 0 | 0 | 0 | 0 | 348
Impairment of Intangible Assets, Finite-lived | 0 | 0 | 0 | 0 | 1,150
Other Restructuring Costs | 0 | 1 | 0 | 1 | 1
Restructuring costs | 0 | 37 | 37 | 46 | 4,120
Process and Industrial Facilities |  |  |  |  |
Restructuring costs by type [Abstract] |  |  |  |  |
Severance costs and other benefits | 354 | (27) | 666 | (22) | 9,762
Facility costs | 0 | 1 | 2 | 1 | 3,208
Impairment of Intangible Assets, Finite-lived | 0 | 0 | 0 | 0 | 375
Other Restructuring Costs | 28 | 2 | 28 | 4 | (1,143)
Restructuring costs | 382 | (24) | 696 | (17) | 12,202
Storage and Terminal Solutions |  |  |  |  |
Restructuring costs by type [Abstract] |  |  |  |  |
Severance costs and other benefits | 379 | 102 | 902 | 69 | 2,548
Facility costs | 0 | 0 | 0 | 0 | 879
Other Restructuring Costs | 4 | 5 | 4 | 5 | 32
Restructuring costs | 383 | 107 | 906 | 74 | 3,459
Corporate |  |  |  |  |
Restructuring costs by type [Abstract] |  |  |  |  |
Severance costs and other benefits | 311 | 0 | 708 | 44 | 2,295
Facility costs | 126 | 0 | 126 | 16 | 224
Other Restructuring Costs | 76 | 575 | 92 | 1,137 | 1,677
Restructuring costs | $ 513 | $ 575 | $ 926 | $ 1,197 | $ 4,196

X
- Definition Restructuring cost - closure of office in the second quarter of fiscal 2023 + References No definition available. + Details
Name: | mtrx_RestructuringCostClosureOfOfficeInTheSecondQuarterOfFiscal2023
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Restructuring costs by type [Abstract] + References No definition available. + Details
Name: | mtrx_RestructuringcostsbytypeAbstract
Namespace Prefix: | mtrx_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_BusinessExitCosts1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of a finite-lived intangible asset to fair value. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 3 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275 + Details
Name: | us-gaap_ImpairmentOfIntangibleAssetsFinitelived
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 https://asc.fasb.org/extlink&oid=126954810&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 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 https://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 https://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 https://asc.fasb.org/extlink&oid=126954810&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 https://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 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 https://asc.fasb.org/extlink&oid=126954810&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_UtilityAndPowerInfrastructureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtrx_StorageAndTerminalSolutionsMember
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: |