XML 36 R27.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Condensed Consolidated Financial Information - Additional Information (Detail) - First-Step Merger [Member] - WillScot Mobile Mini Holdings Corp [Member] | Jan. 28, 2024 USD ($) shares $ / shares
--- | ---
Condensed Financial Statements, Captions [Line Items] |
Par value issued and outstanding prior to effective time | $ 0
Business acquisition, per share cash consideration | $ | $ 123
Par value | $ 0.0001
Business acquisition, exchange ratio | shares | 2.8211
Business acquisition, consideration transferred cash percent | 60.00%
Business acquisition, consideration transferred stock percent | 40.00%

X
- Definition Business acquisition, consideration transferred cash percent. + References No definition available. + Details
Name: | mgrc_BusinessAcquisitionConsiderationTransferredCashPercent
Namespace Prefix: | mgrc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Business acquisition, consideration transferred stock percent. + References No definition available. + Details
Name: | mgrc_BusinessAcquisitionConsiderationTransferredStockPercent
Namespace Prefix: | mgrc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Business acquisition, exchange ratio. + References No definition available. + Details
Name: | mgrc_BusinessAcquisitionExchangeRatio
Namespace Prefix: | mgrc_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Business acquisition per share cash consideration. + References No definition available. + Details
Name: | mgrc_BusinessAcquisitionPerShareCashConsideration
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Par value issued and outstanding prior to effective time. + References No definition available. + Details
Name: | mgrc_ParValueIssuedAndOutstandingPriorToEffectiveTime
Namespace Prefix: | mgrc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-3 Reference 2: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Topic 810 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481231/810-10-45-11 + Details
Name: | srt_CondensedFinancialStatementsCaptionsLineItems
Namespace Prefix: | srt_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face amount or stated value per share of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=mgrc_FirstStepMergerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mgrc_WillscotMobileMiniHoldingsCorpMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |