XML 57 R43.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Goodwill and Other Intangible Assets (Details 1) - USD ($) $ in Thousands |  | 12 Months Ended
--- | --- | ---
Dec. 12, 2016 | Jun. 30, 2017 | Jun. 30, 2016 | Jun. 30, 2015
Finite-Lived Intangible Assets [Line Items] |  |  |  |
Amortization of Intangible Assets |  | $ 4,900 | $ 3,600 | $ 5,000
Carrying value of other intangible assets |  |  |  |
Gross carrying amount |  | 43,869 | 33,826 |
Accumulated amortization |  | (17,573) | (12,827) |
Net carrying amount |  | 26,296 | 20,999 |
Intangible assets, net, excluding Goodwill |  | $ 26,296 | 20,999 |
Minimum [Member] |  |  |  |
Carrying value of other intangible assets |  |  |  |
Useful life of intangible assets |  | 1 year |  |
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,425) | (1,246) |
Net carrying amount |  | $ 1,154 | $ 1,333 |
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,207 | $ 28,179 |
Accumulated amortization |  | (13,543) | (9,655) |
Net carrying amount |  | $ 24,664 | $ 18,524 |
Customer based [Member] | Minimum [Member] |  |  |  |
Carrying value of other intangible assets |  |  |  |
Useful life of intangible assets |  | 1 year | 1 year 6 months |
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 |  |  |  |
Gross carrying amount |  | $ 1,453 | $ 1,453 |
Accumulated amortization |  | (1,298) | (1,102) |
Net carrying amount |  | $ 155 | $ 351 |
Noncompete Agreements [Member] | Minimum [Member] |  |  |  |
Carrying value of other intangible assets |  |  |  |
Useful life of intangible assets |  | 4 years | 4 years |
Noncompete Agreements [Member] | Maximum [Member] |  |  |  |
Carrying value of other intangible assets |  |  |  |
Useful life of intangible assets |  | 5 years | 5 years |
Trade Names [Member] |  |  |  |
Carrying value of other intangible assets |  |  |  |
Gross carrying amount |  | $ 1,630 | $ 1,615 |
Accumulated amortization |  | (1,307) | (824) |
Net carrying amount |  | $ 323 | $ 791 |
Trade Names [Member] | Minimum [Member] |  |  |  |
Carrying value of other intangible assets |  |  |  |
Useful life of intangible assets |  | 1 year | 3 years |
Trade Names [Member] | Maximum [Member] |  |  |  |
Carrying value of other intangible assets |  |  |  |
Useful life of intangible assets |  | 3 years | 5 years |
Houston Interests, LLC [Member] |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |
Amortization of Intangible Assets |  | $ 1,600 |  |
Houston Interests, LLC [Member] | Customer based [Member] |  |  |  |
Carrying value of other intangible assets |  |  |  |
Gross carrying amount | $ 10,000 |  |  |
Houston Interests, LLC [Member] | Customer based [Member] | Minimum [Member] |  |  |  |
Carrying value of other intangible assets |  |  |  |
Useful life of intangible assets | 1 year |  |  |
Houston Interests, LLC [Member] | Customer based [Member] | Maximum [Member] |  |  |  |
Carrying value of other intangible assets |  |  |  |
Useful life of intangible assets | 9 years |  |  |
Houston Interests, LLC [Member] | Trade Names [Member] |  |  |  |
Carrying value of other intangible assets |  |  |  |
Useful life of intangible assets | 1 year |  |  |
Gross carrying amount | $ 200 |  |  |
Reporting Unit [Member] |  |  |  |
Carrying value of other intangible assets |  |  |  |
Net book value of intangible asset at risk of impairment |  | $ 7,200 |  |

X
- Definition Net book value of intangible asset at risk of impairment + References No definition available. + Details
Name: | mtrx_Netbookvalueofintangibleassetatriskofimpairment
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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://www.xbrl.org/2003/role/presentationRef -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 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -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 + 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://www.xbrl.org/2003/role/presentationRef -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/presentationRef -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://www.xbrl.org/2003/role/presentationRef -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://www.xbrl.org/2003/role/presentationRef -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 Reference 2: http://www.xbrl.org/2003/role/presentationRef -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 + 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: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_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: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mtrx_HoustonInterestsLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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