XML 65 R51.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Lease Obligations - Additional information (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 USD ($)
Operating And Finance Leases [Line Items] |
Option to extend lease term (up to) | 5 years
Option to terminate leases, period | 1 year
Minimum lease payments required | $ 24,182
Employees | Subsidiaries |
Operating And Finance Leases [Line Items] |
Minimum lease payments required | $ 2,500
Lease amortization period | 2 years 6 months
Minimum |
Operating And Finance Leases [Line Items] |
Remaining lease term | 1 year
Maximum |
Operating And Finance Leases [Line Items] |
Remaining lease term | 6 years

X
- Definition Lessee, operating and finance leases, option to extend, term. + References No definition available. + Details
Name: | myrg_LesseeOperatingAndFinanceLeasesOptionToExtendTerm
Namespace Prefix: | myrg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lessee, operating and finance leases, option to terminate, period. + References No definition available. + Details
Name: | myrg_LesseeOperatingAndFinanceLeasesOptionToTerminatePeriod
Namespace Prefix: | myrg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lessee operating and finance leases remaining contract term. + References No definition available. + Details
Name: | myrg_LesseeOperatingAndFinanceLeasesRemainingContractTerm
Namespace Prefix: | myrg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount of lessee's undiscounted obligation for lease payment for operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Remaining lease term of operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseRemainingLeaseTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | srt_TitleOfIndividualAxis=myrg_EmployeesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=srt_SubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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: |