XML 63 R55.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Commitments and Contingencies - Additional Information (Detail) $ in Millions | Jun. 30, 2024 USD ($)
--- | ---
Commitments and Contingencies [Line Items] |
Outstanding letters of credit | $ 33

X
- Definition Commitments and contingencies. + References No definition available. + Details
Name: | mlm_CommitmentsAndContingenciesLineItems
Namespace Prefix: | mlm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant