XML 98 R78.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Commitments and Contingencies - Additional Information (Detail) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Commitments And Contingencies [Line Items] |  |  |
Operating lease expense | $ 6,400,000 | $ 6,700,000 |
Facility rent expense | 9,000,000 | 10,800,000 | $ 7,000,000
Health plan annual stop-loss insurance per claim | 225,000 |  |
Workers compensation insurance with no stop-loss for prior claim years | 350,000 |  |
Accruals for health and workers' compensation plans | $ 1,700,000 | $ 1,600,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 Facility lease expense. + References No definition available. + Details
Name: | mgrc_FacilityLeaseExpense
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 -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