XML 92 R27.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Property, Plant, and Equipment (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Mar. 31, 2024 | Dec. 31, 2023 | Mar. 31, 2024 | Mar. 31, 2023
Property, Plant and Equipment [Line Items] |  |  |  |
Proceeds from asset sales |  |  | $ 5,535 | $ 110
Gain on disposition of assets |  |  | $ 4,530 | $ 21
Catoosa Facility Disposal |  |  |  |
Property, Plant and Equipment [Line Items] |  |  |  |
Proceeds from asset sales |  | $ 2,700 |  |
Gain on disposition of assets |  | 2,000 |  |
Burlington Office |  |  |  |
Property, Plant and Equipment [Line Items] |  |  |  |
Proceeds from asset sales |  | 2,700 |  |
Gain on disposition of assets |  | $ 2,500 |  |
Bakersfield Facility Purchase [Domain] |  |  |  |
Property, Plant and Equipment [Line Items] |  |  |  |
Payments to Acquire Buildings | $ 4,100 |  |  |

X
- Definition Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 + Details
Name: | us-gaap_GainLossOnSaleOfPropertyPlantEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for acquisition of buildings (properties) whether for investment or use. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 13 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-13 + Details
Name: | us-gaap_PaymentsToAcquireBuildings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from the sale of property, plant and equipment (capital expenditures), software, and other intangible assets. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 12 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-12 + Details
Name: | us-gaap_ProceedsFromSaleOfProductiveAssets
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_PropertyPlantAndEquipmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=mtrx_CatoosaFacilityDisposalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=mtrx_BurlingtonOfficeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=mtrx_BakersfieldFacilityPurchaseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |