XML 31 R23.htm IDEA: XBRL DOCUMENT
v3.25.1

Condensed Consolidated Financial Information - Additional Information (Detail) - Merger Agreement [Member] - WillScot Mobile Mini Holdings Corp [Member] - USD ($) $ in Millions |  | 3 Months Ended | 12 Months Ended
--- | --- | --- | ---
Sep. 17, 2024 | Mar. 31, 2024 | Dec. 31, 2024
Condensed Financial Statements, Captions [Line Items] |  |  |
Mini's cash payment upon termination agreement | $ 180.0 |  |
Gain on merger termination from WillScot Mobile Mini Transaction costs |  |  | $ 180.0
Merger agreement termination costs |  | $ 9.4 | 63.2
Proceeds from business acquisition termination |  |  | $ 116.8

X
- Definition Gain on merger termination from transaction costs. + References No definition available. + Details
Name: | mgrc_GainOnMergerTerminationFromTransactionCosts
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Merger agreement termination costs, + References No definition available. + Details
Name: | mgrc_MergerAgreementTerminationCosts
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Proceeds from business acquisition termination, + References No definition available. + Details
Name: | mgrc_ProceedsFromBusinessAcquisitionTermination
Namespace Prefix: | mgrc_
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-X (SX) -Number 210 -Section 12 -Subsection 04 -Paragraph a -Publisher SEC Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-X (SX) -Number 210 -Section 5 -Subsection 04 -Paragraph c -Subparagraph Schedule I -Publisher SEC Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-X (SX) -Number 210 -Section 7 -Subsection 05 -Paragraph c -Subparagraph Schedule II -Publisher SEC Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-X (SX) -Number 210 -Section 9 -Subsection 06 -Publisher SEC Reference 5: 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 6: 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 The amount of cash paid during the reporting period for charges associated with the mergers. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 25 -Subparagraph (g) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-25 + Details
Name: | us-gaap_PaymentsForMergerRelatedCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=mgrc_MergerAgreementMember
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: |