XML 106 R92.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Noncontrolling Interests - Additional Information (Details) | 12 Months Ended
--- | ---
Dec. 31, 2021 USD ($)
Noncontrolling Interest [Line Items] |
Capital contributions to joint venture | $ 0
Huen Electric Inc |
Noncontrolling Interest [Line Items] |
Distributions to partners | $ 0

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

X
- Definition Total contributions made by each class of partners (i.e., general, limited and preferred partners). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 4.F) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 + Details
Name: | us-gaap_PartnersCapitalAccountContributions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total distributions to each class of partners (i.e., general, limited and preferred partners). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 5 -Subparagraph (SAB Topic 4.F) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187171-122770 + Details
Name: | us-gaap_PartnersCapitalAccountDistributions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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