XML 83 R69.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Revenue Recognition - Additional Information (Details) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2021 USD ($)
Disaggregation of Revenue [Line Items] |
Remaining performance obligations | $ 1,680
Minimum |
Disaggregation of Revenue [Line Items] |
Term of master service agreements | 1 year
Short termination notice of master service agreements | 30 days
Maximum |
Disaggregation of Revenue [Line Items] |
Term of master service agreements | 3 years
Short termination notice of master service agreements | 90 days

X
- Definition Term of master service agreements ("MSAs"), in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | myrg_MasterServiceAgreementsTerm
Namespace Prefix: | myrg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Short termination notice of master service agreements ("MSAs"), in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact + References No definition available. + Details
Name: | myrg_MasterServiceAgreementsTermOfShortTerminationNotice
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_DisaggregationOfRevenueLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of transaction price allocated to performance obligation that has not been recognized as revenue. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130556-203045 + Details
Name: | us-gaap_RevenueRemainingPerformanceObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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