XML 70 R58.htm IDEA: XBRL DOCUMENT
v3.22.4

Income Taxes - Additional Information (Detail) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Operating Loss Carryforwards [Line Items] |  |  |
Excess tax shortfall (benefit) from exercise of share-based awards | $ 2,600,000 | $ 2,500,000 | $ 1,900,000
Likelihood percentage of being realized upon ultimate settlement with the relevant tax authority | 50.00% |  |
Unrecognized tax benefits | $ 0 | 0 |
Changes in unrecognized benefits | 0 | $ 0 | $ 0
Foreign [Member] |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Net operating losses carryforwards | $ 600,000 |  |
Net operating losses carryforwards, expiration year | 2023 |  |

X
- Definition Operating loss carryforwards expiration year. + References No definition available. + Details
Name: | mgrc_OperatingLossCarryforwardsExpirationYear
Namespace Prefix: | mgrc_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tax benefit likelihood percentage. + References No definition available. + Details
Name: | mgrc_TaxBenefitLikelihoodPercentage
Namespace Prefix: | mgrc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Excess tax shortfall (benefit) from exercise of stock options. + References No definition available. + Details
Name: | mgrc_TaxExpenseBenefitFromExercisingOfShareBasedCompensation
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_OperatingLossCarryforwardsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 10B -URI https://asc.fasb.org/extlink&oid=123427490&loc=SL37586934-109318 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in unrecognized tax benefits attributable to uncertain tax positions taken in tax returns. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_ForeignCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |