XML 136 R103.htm IDEA: XBRL DOCUMENT
v3.22.4

Leases - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
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 yea |  |
Royalties expenses | $ 78.2 | $ 67.1 | $ 60.8
Minimum |  |  |
Lessee Lease Description [Line Items] |  |  |
Financing lease term | 1 year |  |
Estimated incremental percentage on interest rate | 0.00% | 0.40% |
Maximum |  |  |
Lessee Lease Description [Line Items] |  |  |
Financing lease term | 97 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 No definition available. + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.3) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + 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: |