XML 81 R70.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Income Taxes - Additional Information (Detail) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Operating Loss Carryforwards [Line Items] |  |  |
Excess tax shortfall (benefit) from exercise of share-based awards | $ 2,700,000 | $ 2,600,000 | $ 2,500,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
Future federal tax benefit | 27,100,000 |  |
Future state tax benefit | 1,500,000 |  |
Adler Tank Rentals, LLC |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Net deferred tax liability | 0 | $ 43,550,000 |
Current and deferred tax liabilities from discontinued operations | 64,800,000 |  |
Federal Jurisdictions [Member] |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Net operating losses carryforwards | 129,200,000 |  |
State Jurisdictions [Member] |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Net operating losses carryforwards | 32,200,000 |  |
Foreign [Member] |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Net operating losses carryforwards | $ 600,000 |  |
Net operating losses carryforwards, expiration year | 2024 |  |

X
- Definition Disposal group including discontinued operation current and deferred tax liabilities. + References No definition available. + Details
Name: | mgrc_DisposalGroupIncludingDiscontinuedOperationCurrentAndDeferredTaxLiabilities
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Operating loss carry forwards future federal tax benefit. + References No definition available. + Details
Name: | mgrc_OperatingLossCarryForwardsFutureFederalTaxBenefit
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Operating loss carry forwards future state tax benefit. + References No definition available. + Details
Name: | mgrc_OperatingLossCarryForwardsFutureStateTaxBenefit
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 classified as deferred tax liabilities attributable to disposal group held for sale or disposed of. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 10 -SubTopic 20 -Topic 205 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483475/205-20-45-10 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5B -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483499/205-20-50-5B Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482099/360-10-50-3 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483475/205-20-45-11 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationDeferredTaxLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-3 + 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 -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10B -Publisher FASB -URI https://asc.fasb.org//1943274/2147482525/740-10-45-10B + 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 -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15A + Details
Name: | us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=mgrc_AdlerTankRentalsLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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