XML 138 R105.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Stock-Based Compensation - Stock-Based Compensation Expense in Future for Outstanding Awards (Detail) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2021 USD ($)
Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] |
2022 | $ 21.9
2023 | 11.8
2024 | 2.4
2025 | 1.2
2026 | 0.5
Total | $ 37.8

X
- Definition Future share-based compensation expense. + References No definition available. + Details
Name: | mlm_FutureShareBasedCompensationExpense
Namespace Prefix: | mlm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Future share-based compensation expense year five. + References No definition available. + Details
Name: | mlm_FutureShareBasedCompensationExpenseYearFive
Namespace Prefix: | mlm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Future share-based compensation expense year four. + References No definition available. + Details
Name: | mlm_FutureShareBasedCompensationExpenseYearFour
Namespace Prefix: | mlm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Future share-based compensation expense year one. + References No definition available. + Details
Name: | mlm_FutureShareBasedCompensationExpenseYearOne
Namespace Prefix: | mlm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Future share-based compensation expense year three. + References No definition available. + Details
Name: | mlm_FutureShareBasedCompensationExpenseYearThree
Namespace Prefix: | mlm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Future share-based compensation expense year two. + References No definition available. + Details
Name: | mlm_FutureShareBasedCompensationExpenseYearTwo
Namespace Prefix: | mlm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration