XML 75 R63.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Commitments and Contingencies - Additional Information (Detail) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Commitments And Contingencies [Line Items] |  |  |
Operating lease expense | $ 5,400,000 |  |
Health plan annual stop-loss insurance per claim | 200,000 |  |
Workers compensation insurance with no stop-loss for prior claim years | 350,000 |  |
Accruals for health and workers' compensation plans | 2,500,000 | $ 2,200,000 |
Facility [Member] |  |  |
Commitments And Contingencies [Line Items] |  |  |
Operating lease expense | $ 5,600,000 | $ 3,700,000 | $ 3,900,000

X
- Definition Commitments and contingencies. + References No definition available. + Details
Name: | mgrc_CommitmentsAndContingenciesLineItems
Namespace Prefix: | mgrc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Health and workers compensation plans liability. + References No definition available. + Details
Name: | mgrc_HealthAndWorkersCompensationPlansLiability
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Health plan annual stop-loss insurance per claim. + References No definition available. + Details
Name: | mgrc_HealthPlanAnnualStopLossInsurancePerClaim
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Workers compensation insurance with no stop-loss for prior claim years. + References No definition available. + Details
Name: | mgrc_WorkersCompensationInsuranceWithNoStopLossForPriorClaimYears
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=mgrc_FacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |