XML 71 R59.htm IDEA: XBRL DOCUMENT
v3.22.4

Benefit Plans - Additional Information (Detail) - USD ($) | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2018 | Dec. 31, 2019 | Jun. 08, 2016
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Share-based compensation expense | $ 8,009,000 | $ 7,666,000 | $ 5,549,000 |  |  |
Tax benefit related to share-based compensation expense | 2,200,000 | 2,100,000 | 1,500,000 |  |  |
Capitalized share-based compensation expense | $ 0 | $ 0 | $ 0 |  |  |
Stock option plans remain outstanding | 139,350 | 274,630 | 409,410 |  | 580,140 |
Number of options, granted | 0 | 0 | 0 |  |  |
Eligible period of service for participation in plan | 2 months |  |  |  |  |
Minimum age for employees to participate in KSOP | 21 years |  |  |  |  |
Dividends deducted | $ 500,000 |  |  |  |  |
Tax benefit from dividends | $ 100,000 |  |  |  |  |
Shares outstanding, employee stock ownership plan | 258,758 |  |  |  |  |
Percentage of total common shares outstanding | 1.00% |  |  |  |  |
Stock Options [Member] |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Number of additional shares authorized | 1,263,760 |  |  |  |  |
Stock options granted | 8,458,600 |  |  |  |  |
Stock options, exercise prices lower | $ 3.47 |  |  |  |  |
Stock options, exercise prices upper | $ 40.37 |  |  |  |  |
Purchase of shares | 6,767,253 |  |  |  |  |
Stock option shares terminated | 1,672,732 |  |  |  |  |
Stock option plans remain outstanding | 139,350 |  |  |  |  |
Stock options outstanding, exercise prices lower | $ 24.60 |  |  |  |  |
Stock options outstanding, exercise prices upper | $ 40.37 |  |  |  |  |
Stock options vesting period | 5 years |  |  |  |  |
Options Outstanding, Weighted-Average Remaining Contractual Life (Years) | 7 years |  |  |  |  |
Options issued to non-employee advisors |  | 0 |  |  |  |
Aggregate intrinsic value of options exercised and sold | $ 7,900,000 | $ 7,000,000.0 | $ 5,900,000 |  |  |
Performance-based RSUs [Member] |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Stock options vesting period | 3 years |  |  | 5 years |  |
Percentage of vesting annually at anniversary |  |  |  | 20.00% |  |
Number of RSU's expected to vest | 92,310 |  |  |  |  |
Performance-based RSUs [Member] | Vesting after three years [Member] |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Percentage of vesting RSUs | 100.00% |  |  | 60.00% |  |
Service-based RSUs [Member] |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Number of RSU's expected to vest | 95,098 |  |  |  |  |
Number of forfeitures expected | 0 |  |  |  |  |
Restricted Stock Units [Member] |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Expected recognition period of unrecognized compensation expense | 1 year 2 months 12 days |  |  |  |  |
Number of forfeitures expected | 10,754 | 8,646 | 7,593 |  |  |
Total fair value of RSU's vested based on weighted average grant date values | $ 9,300,000 | $ 9,200,000 | $ 6,000,000.0 |  |  |
Stock-based compensation expense for restricted stock | 7,900,000 | $ 7,300,000 | $ 4,600,000 |  |  |
Total unrecognized compensation expense net of forfeitures | $ 8,500,000 |  |  |  |  |
Maximum [Member] | Service-based RSUs [Member] |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Stock options vesting period | 14 months |  |  |  |  |
Minimum [Member] | Service-based RSUs [Member] |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Stock options vesting period | 12 months |  |  |  |  |
2016 Stock Incentive Plan [Member] |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Reduction in common stock available for grant | 2 |  |  |  |  |
Common Stock [Member] | 2016 Stock Incentive Plan [Member] |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Shares of common stock remained available for grants of awards |  |  |  |  |  | 2,000,000
Common Stock [Member] | 2016 Stock Incentive Plan [Member] | Maximum [Member] |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Term of award (in years) | 7 years |  |  |  |  |
Common Stock [Member] | 2016 Stock Incentive Plan [Member] | Minimum [Member] |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Rate of exercise price for equity award granted | 100.00% |  |  |  |  |

X
- Definition Capitalized compensation costs related to share based awards. + References No definition available. + Details
Name: | mgrc_CapitalizedCompensationCostsRelatedToShareBasedAwards
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Defined contribution plan eligible period of service for participation in plan. + References No definition available. + Details
Name: | mgrc_DefinedContributionPlanEligiblePeriodOfServiceForParticipationInPlan
Namespace Prefix: | mgrc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Employee stock ownership plan ESOP shares in ESOP as percentage of outstanding stock. + References No definition available. + Details
Name: | mgrc_EmployeeStockOwnershipPlanEsopSharesInEsopAsPercentageOfOutstandingStock
Namespace Prefix: | mgrc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum age for employees to participate in KSOP. + References No definition available. + Details
Name: | mgrc_MinimumAgeForEmployeesToParticipateInKSOP
Namespace Prefix: | mgrc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award award vesting rights percentage vested on anniversary. + References No definition available. + Details
Name: | mgrc_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingRightsPercentageVestedOnAnniversary
Namespace Prefix: | mgrc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award equity instruments other than options expected to vest. + References No definition available. + Details
Name: | mgrc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVest
Namespace Prefix: | mgrc_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award number of shares available for grant period increase decrease. + References No definition available. + Details
Name: | mgrc_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantPeriodIncreaseDecrease
Namespace Prefix: | mgrc_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award options forfeitures and expirations till date. + References No definition available. + Details
Name: | mgrc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsTillDate
Namespace Prefix: | mgrc_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award options grants cumulative number. + References No definition available. + Details
Name: | mgrc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsCumulativeNumber
Namespace Prefix: | mgrc_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award options grants cumulative number weighted average exercise price range lower. + References No definition available. + Details
Name: | mgrc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsCumulativeNumberWeightedAverageExercisePriceRangeLower
Namespace Prefix: | mgrc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award options grants cumulative number weighted average exercise price range upper. + References No definition available. + Details
Name: | mgrc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsCumulativeNumberWeightedAverageExercisePriceRangeUpper
Namespace Prefix: | mgrc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award options outstanding exercise price range lower range limit. + References No definition available. + Details
Name: | mgrc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingExercisePriceRangeLowerRangeLimit
Namespace Prefix: | mgrc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award options outstanding exercise price range upper range limit. + References No definition available. + Details
Name: | mgrc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingExercisePriceRangeUpperRangeLimit
Namespace Prefix: | mgrc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award shares issued till date. + References No definition available. + Details
Name: | mgrc_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedTillDate
Namespace Prefix: | mgrc_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost to be recognized for nonvested award under share-based payment arrangement. Excludes share and unit options. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of tax benefit for recognition of expense of award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Dividends paid on stock held by an employee stock ownership plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 40 -Section 50 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=109244661&loc=d3e17540-113929 + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPDividendsPaidToESOP
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Sum of the allocated, committed-to-be-released and suspense shares of the entity held by the plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 40 -Section 50 -Paragraph 1 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=109244661&loc=d3e17540-113929 + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The tax benefit resulting from dividends paid on preferred stock held by an employee stock option plan, when that stock is not a common stock equivalent. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 40 -Section 50 -Paragraph 1 -Subparagraph (g) -URI https://asc.fasb.org/extlink&oid=109244661&loc=d3e17540-113929 + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPTaxBenefitOfDividendsPaidToPlan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of noncash expense for award of restricted stock or unit under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_RestrictedStockExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of noncash expense for share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_ShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(03) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of share-based awards for which the grantee gained the right by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of additional shares authorized for issuance under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares authorized for issuance under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Gross number of share options (or share units) granted during the period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(01) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of options outstanding, including both vested and non-vested options. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(ii) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares issued under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of vesting of award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Purchase price of common stock expressed as a percentage of its fair value. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average remaining contractual term of outstanding stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (e)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=mgrc_PerformanceBasedRestrictedStockUnitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=mgrc_ServiceBasedRestrictedStockUnitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockUnitsRSUMember
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: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=mgrc_TwoThousandAndSixteenPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |