XML 58 R43.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Goodwill and Other Intangible Assets (Details 1) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jun. 30, 2018 | Jun. 30, 2017 | Jun. 30, 2016
Finite-Lived Intangible Assets [Line Items] |  |  |
Amortization of Intangible Assets | $ 4,800 | $ 4,900 | $ 3,600
Carrying value of other intangible assets |  |  |
Gross carrying amount | 44,224 | 43,869 |
Accumulated amortization | (21,410) | (17,573) |
Net carrying amount | 22,814 | 26,296 |
Intangible assets, net, excluding Goodwill | $ 22,814 | 26,296 |
Minimum [Member] |  |  |
Carrying value of other intangible assets |  |  |
Useful life of intangible assets | 4 years |  |
Maximum [Member] |  |  |
Carrying value of other intangible assets |  |  |
Useful life of intangible assets | 15 years |  |
Intellectual Property [Member] |  |  |
Carrying value of other intangible assets |  |  |
Gross carrying amount | $ 2,579 | 2,579 |
Accumulated amortization | (1,603) | (1,425) |
Net carrying amount | $ 976 | $ 1,154 |
Intellectual Property [Member] | Minimum [Member] |  |  |
Carrying value of other intangible assets |  |  |
Useful life of intangible assets | 9 years | 9 years |
Intellectual Property [Member] | Maximum [Member] |  |  |
Carrying value of other intangible assets |  |  |
Useful life of intangible assets | 15 years | 15 years |
Customer based [Member] |  |  |
Carrying value of other intangible assets |  |  |
Gross carrying amount | $ 38,562 | $ 38,207 |
Accumulated amortization | (16,763) | (13,543) |
Net carrying amount | $ 21,799 | $ 24,664 |
Customer based [Member] | Minimum [Member] |  |  |
Carrying value of other intangible assets |  |  |
Useful life of intangible assets | 6 years | 1 year |
Customer based [Member] | Maximum [Member] |  |  |
Carrying value of other intangible assets |  |  |
Useful life of intangible assets | 15 years | 15 years |
Noncompete Agreements [Member] |  |  |
Carrying value of other intangible assets |  |  |
Useful life of intangible assets | 4 years |  |
Gross carrying amount | $ 1,453 | $ 1,453 |
Accumulated amortization | (1,414) | (1,298) |
Net carrying amount | 39 | $ 155 |
Noncompete Agreements [Member] | Minimum [Member] |  |  |
Carrying value of other intangible assets |  |  |
Useful life of intangible assets |  | 4 years |
Noncompete Agreements [Member] | Maximum [Member] |  |  |
Carrying value of other intangible assets |  |  |
Useful life of intangible assets |  | 5 years |
Trade Names [Member] |  |  |
Carrying value of other intangible assets |  |  |
Gross carrying amount | 1,630 | $ 1,630 |
Accumulated amortization | (1,630) | (1,307) |
Net carrying amount | $ 0 | $ 323 |
Trade Names [Member] | Minimum [Member] |  |  |
Carrying value of other intangible assets |  |  |
Useful life of intangible assets |  | 1 year |
Trade Names [Member] | Maximum [Member] |  |  |
Carrying value of other intangible assets |  |  |
Useful life of intangible assets |  | 3 years |

X
- Definition The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method. + 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=109223946&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274 + Details
Name: | us-gaap_AmortizationOfIntangibleAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 928 -SubTopic 340 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_FiniteLivedIntangibleAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph ((a)(1),(b)) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274 + Details
Name: | us-gaap_IntangibleAssetsNetExcludingGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_IntellectualPropertyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=mtrx_CustomerBasedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_NoncompeteAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TradeNamesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |