XML 71 R55.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Lease Obligations - Additional information (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Operating And Finance Leases [Line Items] |  |  |
Option to extend lease term (up to) | 6 years |  |
Option to terminate leases, period | 1 year |  |
Minimum lease payments required | $ 44,462 |  |
Employees | Subsidiaries |  |  |
Operating And Finance Leases [Line Items] |  |  |
Operating lease expense | 2,700 | $ 2,400 | $ 900
Minimum lease payments required | $ 12,900 |  |
Lease amortization period | 5 years 8 months 12 days |  |
Minimum |  |  |
Operating And Finance Leases [Line Items] |  |  |
Remaining lease term | 1 year |  |
Maximum |  |  |
Operating And Finance Leases [Line Items] |  |  |
Remaining lease term | 10 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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-3 + 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 -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-6 + 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 -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-3 + Details
Name: | us-gaap_LesseeOperatingLeaseRemainingLeaseTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of operating lease expense. Excludes sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479041/842-20-45-4 + Details
Name: | us-gaap_OperatingLeaseExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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