XML 45 R33.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Intangible Assets Including Goodwill - Additional Information (Detail) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2017 | Dec. 31, 2016 | Jun. 30, 2017
Goodwill and Intangible Assets Disclosure [Abstract] |  |  |  |  |
Amortization expense | $ 1,400 | $ 1,000 | $ 3,000 | $ 1,800 |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |
Acquired Finite-lived Intangible Asset, Residual Value | 2,000 |  | 2,000 |  |
Finite-Lived Intangible Assets, Gross | 46,001 |  | 46,001 |  | $ 43,869
Backlog received in exchange for settled account receivable |  |  | 50,000 |  |
Intellectual Property [Member] |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |
Finite-Lived Intangible Assets, Gross | 2,579 |  | 2,579 |  | 2,579
Customer Relationships [Member] |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |
Finite-Lived Intangible Assets, Gross | 40,339 |  | 40,339 |  | 38,207
Noncompete Agreements [Member] |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |
Finite-Lived Intangible Assets, Gross | 1,453 |  | $ 1,453 |  | 1,453
Finite-Lived Intangible Asset, Useful Life |  |  | 4 years |  |
Trade Names [Member] |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |
Finite-Lived Intangible Assets, Gross | $ 1,630 |  | $ 1,630 |  | $ 1,630
Finite-Lived Intangible Asset, Useful Life |  |  | 0 years |  |
Minimum [Member] | Intellectual Property [Member] |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |
Finite-Lived Intangible Asset, Useful Life |  |  | 9 years | 9 years |
Minimum [Member] | Customer Relationships [Member] |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |
Finite-Lived Intangible Asset, Useful Life |  |  | 6 years | 1 year |
Minimum [Member] | Noncompete Agreements [Member] |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |
Finite-Lived Intangible Asset, Useful Life |  |  |  | 4 years |
Minimum [Member] | Trade Names [Member] |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |
Finite-Lived Intangible Asset, Useful Life |  |  |  | 3 years |
Maximum [Member] | Intellectual Property [Member] |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |
Finite-Lived Intangible Asset, Useful Life |  |  | 15 years | 15 years |
Maximum [Member] | Customer Relationships [Member] |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |
Finite-Lived Intangible Asset, Useful Life |  |  | 15 years | 15 years |
Maximum [Member] | Noncompete Agreements [Member] |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |
Finite-Lived Intangible Asset, Useful Life |  |  |  | 5 years |
Maximum [Member] | Trade Names [Member] |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |
Finite-Lived Intangible Asset, Useful Life |  |  |  | 5 years |

X
- Definition Backlog received in exchange for settled account receivable, amount of backlog to be recognized as revenue in the future. + References No definition available. + Details
Name: | mtrx_Backlogreceivedinexchangeforsettledaccountreceivable
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate expected value at the end of their useful life of a major finite-lived intangible asset class acquired during the period either individually or as part of a group of assets (in either an asset acquisition or business combination). A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275 + Details
Name: | us-gaap_AcquiredFiniteLivedIntangibleAssetResidualValue
Namespace Prefix: | us-gaap_
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 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
- References No definition available. + Details
Name: | us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember
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_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: |