XML 127 R96.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Leases - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Lessee Lease Description [Line Items] |  |  |
Option to extend lease | options to extend the leases for up to 30 years |  |
Option to terminate lease | options to terminate the leases within one year |  |
Royalties expenses | $ 86.2 | $ 78.2 | $ 67.1
Minimum |  |  |
Lessee Lease Description [Line Items] |  |  |
Financing lease term | 1 year |  |
Estimated incremental percentage on interest rate | 0.00% | 0.00% |
Maximum |  |  |
Lessee Lease Description [Line Items] |  |  |
Financing lease term | 96 years |  |
Estimated incremental percentage on interest rate | 6.00% | 6.00% |

X
- Definition Incremental borrowing rate. + References No definition available. + Details
Name: | mlm_IncrementalBorrowingRate
Namespace Prefix: | mlm_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lessee option to extend. + References No definition available. + Details
Name: | mlm_LesseeOptionToExtend
Namespace Prefix: | mlm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lessee option to terminate. + References No definition available. + Details
Name: | mlm_LesseeOptionToTerminate
Namespace Prefix: | mlm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lessee remaining lease term. + References No definition available. + Details
Name: | mlm_LesseeRemainingLeaseTerm
Namespace Prefix: | mlm_
Data Type: | xbrli:durationItemType
Balance Type: | na
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 -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-3 + Details
Name: | us-gaap_LesseeLeaseDescriptionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense related to royalty payments under a contractual arrangement such as payment for mineral and drilling rights and use of technology or intellectual property. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_RoyaltyExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |