XML 63 R30.htm IDEA: XBRL DOCUMENT
v3.19.3

Acquisitions - Summary of acquisition by acquisition (Details) - USD ($) $ in Thousands |  |  | 9 Months Ended | 15 Months Ended |
--- | --- | --- | --- | --- | ---
Jul. 15, 2019 | Jul. 02, 2018 | Sep. 30, 2019 | Sep. 30, 2019 | Dec. 31, 2018
Business Acquisition [Line Items] |  |  |  |  |
Goodwill |  |  | $ 65,557 | $ 65,557 | $ 56,588
CSI Electrical Contractors, Inc [Member] |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |
Consideration paid | $ 79,720 |  |  |  |
Preliminary estimated net asset adjustments | 633 |  |  |  |
Total consideration, net of net asset adjustments | 80,353 |  |  |  |
Accounts receivable, net | 59,579 |  |  |  |
Contract assets | 38,970 |  |  |  |
Other current assets | 83 |  |  |  |
Property and equipment | 7,964 |  |  |  |
Operating lease right-of-use assets | 9,933 |  |  |  |
Intangible assets | 26,000 |  |  |  |
Other long term assets | 149 |  |  |  |
Accounts payable | (29,533) |  |  |  |
Accrued salaries and benefits | (8,091) |  |  |  |
Contract liabilities | (18,934) |  |  |  |
Current portion of operating lease obligations | (2,526) |  |  |  |
Other current liabilities | (4,776) |  |  |  |
Operating lease obligations, net of current maturities | (7,407) |  |  |  |
Long-term debt | (20) |  |  |  |
Net identifiable assets and liabilities | 71,391 |  |  |  |
Goodwill | $ 8,962 |  |  |  |
Huen Electric Inc [Member] |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |
Consideration paid |  | $ 47,082 | 47,082 |  |
Preliminary estimated net asset adjustments |  | 10,749 | 10,834 |  |
Total consideration, net of net asset adjustments |  | 57,831 | 57,916 |  |
Accounts receivable, net |  | 33,903 | 33,696 | 33,696 |
Contract assets |  | 10,570 | 11,580 | 11,580 |
Other current and long term assets |  | 88 | 77 | 77 |
Property and equipment |  | 3,188 | 3,188 | 3,188 |
Intangible assets |  | 0 | 24,300 | 24,300 |
Accounts payable |  | (9,592) | (10,866) | (10,866) |
Contract liabilities |  | (6,394) | (5,869) | (5,869) |
Other current liabilities |  | (6,570) | (6,521) | (6,521) |
Net identifiable assets and liabilities |  | 25,193 | 49,585 | 49,585 |
Unallocated intangible assets |  | 9,800 | 0 | 0 |
Total acquired assets and liabilities |  | 34,993 | 49,585 | 49,585 |
Fair value of acquired noncontrolling interest |  | (1,273) | (1,280) | (1,280) |
Goodwill |  | $ 24,111 | $ 9,611 | 9,611 |
Consideration paid |  |  |  | 0 |
Preliminary estimated net asset adjustments |  |  |  | 85 |
Total consideration, net of net asset adjustments |  |  |  | 85 |
Accounts receivable, net |  |  |  | (207) |
Contract assets |  |  |  | 1,010 |
Other current and long term assets |  |  |  | (11) |
Property and equipment |  |  |  | 0 |
Intangible assets |  |  |  | 24,300 |
Accounts payable |  |  |  | (1,274) |
Contract liabilities |  |  |  | 525 |
Other current liabilities |  |  |  | 49 |
Net identifiable assets and liabilities |  |  |  | 24,392 |
Unallocated intangible assets |  |  |  | (9,800) |
Total acquired assets and liabilities |  |  |  | 14,592 |
Fair value of acquired noncontrolling interest |  |  |  | (7) |
Goodwill |  |  |  | $ (14,500) |

X
- Definition Amount relating to accrued salaries and benefits. + References No definition available. + Details
Name: | myrg_BusinessCombinationAccruedSalariesAndBenefits
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of preliminary estimated net asset adjustments consisting of acquisition-date fair value. + References No definition available. + Details
Name: | myrg_BusinessCombinationPreliminaryEstimatedNetAssetAdjustments
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to items of accounts payable in connection with a business combination for which the initial accounting was incomplete. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentAccountsPayable
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to items of accounts receivable, net in connection with a business combination for which the initial accounting was incomplete. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentAccountsReceivableNet
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition It represents amount of business combination, provisional information, initial accounting incomplete, adjustment, acquisition of less than 100 percent noncontrolling interest fair value. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to items of consideration paid in connection with a business combination for which the initial accounting was incomplete. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentConsiderationPaid
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Represents the amount of business combination, provisional information, initial accounting incomplete, adjustment, contract with customer, asset, net, current. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentContractWithCustomerAssetNetCurrent
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Represents the amount of business combination, provisional information, initial accounting incomplete, adjustment, contract with customer, liability, net, current. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentContractWithCustomerLiabilityNetCurrent
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to items of goodwill in connection with a business combination for which the initial accounting was incomplete. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentGoodwill
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of business combination, provisional information, initial accounting incomplete, adjustment, intangible assets other than goodwill. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentIntangibleAssetsOtherThanGoodwill
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to items of other current and long term assets in connection with a business combination for which the initial accounting was incomplete. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentOtherCurrentAndLongTermAssets
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to items of other current liabilities in connection with a business combination for which the initial accounting was incomplete. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentOtherCurrentLiabilities
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to items of preliminary estimated net asset adjustments in connection with a business combination for which the initial accounting was incomplete. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentPreliminaryEstimatedNetAssetAdjustments
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Its represent amount of business combination, provisional information, initial accounting incomplete, adjustment, recognized identifiable assets acquired and liabilities assumed, excluding intangible asset, net. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedExcludingIntangibleAssetNet
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition It represents amount of business combination, provisional information, initial accounting incomplete, adjustment, recognized identifiable assets acquired and liabilities assumed, net. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition It represents amount of business combination, provisional information, initial accounting incomplete, adjustment, unallocated intangible assets other than goodwill. + References No definition available. + Details
Name: | myrg_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentUnallocatedIntangibleAssetsOtherThanGoodwill
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Business combination, recognized identifiable assets acquired and liabilities assumed, contract with customer, asset, net, current. + References No definition available. + Details
Name: | myrg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractWithCustomerAssetNetCurrent
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business combination, recognized identifiable assets acquired and liabilities assumed, contract with customer, liability, net, current. + References No definition available. + Details
Name: | myrg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractWithCustomerLiabilityNetCurrent
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of other assets expected to be realized or consumed before one year or the normal operating cycle, if longer, acquired at the acquisition date. + References No definition available. + Details
Name: | myrg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAndNoncurrentAssetsOther
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business combination, recognized identifiable assets acquired and liabilities assumed, excluding intangible asset, net. + References No definition available. + Details
Name: | myrg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedExcludingIntangibleAssetNet
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent, assumed at the acquisition date. + References No definition available. + Details
Name: | myrg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOperatingLeaseLiabilityNoncurrent
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as current, acquired at the acquisition date. + References No definition available. + Details
Name: | myrg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiabilityCurrent
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of lessee's right to use underlying asset under operating lease, acquired at the acquisition date. + References No definition available. + Details
Name: | myrg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAsset
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unallocated intangible assets, excluding goodwill, acquired at the acquisition date. + References No definition available. + Details
Name: | myrg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedUnallocatedIntangibleAssetsOtherThanGoodwill
Namespace Prefix: | myrg_
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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition This element represents the fair value of the noncontrolling interest in the acquiree at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e)(1) -URI http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=116859721&loc=d3e6613-128477 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=116859721&loc=d3e6578-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to items of consideration transferred in connection with a business combination for which the initial accounting was incomplete. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 4A -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=116869197&loc=SL65897772-128472 + Details
Name: | us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentConsiderationTransferred
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to property, plant, and equipment acquired in connection with a business combination for which the initial accounting was incomplete. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 4A -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=116869197&loc=SL65897772-128472 + Details
Name: | us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of other assets expected to be realized or consumed before one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of liabilities incurred for goods and services received that are used in an entity's business and related party payables, assumed at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of other liabilities due within one year or within the normal operating cycle, if longer, assumed at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of intangible assets, excluding goodwill, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount recognized as of the acquisition date for the identifiable assets acquired in excess of (less than) the aggregate liabilities assumed. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=116868840&loc=d3e2207-128464 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of long-term debt due after one year or the normal operating cycle, if longer, assumed at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of other assets expected to be realized or consumed after one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of property, plant, and equipment recognized as of the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=116868840&loc=d3e2207-128464 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=77989000&loc=SL49117168-202975 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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