XML 45 R34.htm IDEA: XBRL DOCUMENT
v3.25.2

Lease Obligations - Additional information (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2025 | Jun. 30, 2024 | Jun. 30, 2025 | Jun. 30, 2024
Operating And Finance Leases [Line Items] |  |  |  |
Option to extend lease term (up to) |  |  | 10 years |
Option to terminate leases, period |  |  | 1 year |
Minimum lease payments required | $ 53,730 |  | $ 53,730 |
Subsidiaries | Employees |  |  |  |
Operating And Finance Leases [Line Items] |  |  |  |
Operating lease expense | 600 | $ 600 | 1,300 | $ 1,300
Minimum lease payments required | $ 8,700 |  | $ 8,700 |
Lease amortization period |  |  | 4 years 2 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 |  |  | 8 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 It represents Lessee Operating Lease Amortization Period. + References No definition available. + Details
Name: | myrg_LesseeOperatingLeaseAmortizationPeriod
Namespace Prefix: | myrg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition n/a + References No definition available. + Details
Name: | myrg_OperatingAndFinanceLeasesLineItems
Namespace Prefix: | myrg_
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/2009/role/commonPracticeRef -Topic 942 -SubTopic 235 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477314/942-235-S99-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-4 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 Reference 4: 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 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: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=srt_SubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=myrg_EmployeesMember
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: |