XML 45 R34.htm IDEA: XBRL DOCUMENT
v3.22.2

Significant Accounting Policies - Additional Information (Detail) | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Jun. 30, 2022 USD ($) | Jun. 30, 2022 USD ($) Segment Plant | Jun. 30, 2021 Facility State | Dec. 31, 2021 USD ($)
Significant Accounting Policies [Line Items] |  |  |  |
Number of quarries and yards | Facility |  |  | 350 |
Number of states in which entity operates | State |  |  | 28 |
Reportable business segments | Segment |  | 2 |  |
Restricted cash | $ 0 | $ 0 |  | $ 500,000
Pension and Postretirement Benefit Plans |  |  |  |
Significant Accounting Policies [Line Items] |  |  |  |
Other comprehensive loss, before reclassifications, net of tax | $ (400,000) | $ 33,000,000.0 |  |
California |  |  |  |
Significant Accounting Policies [Line Items] |  |  |  |
Number of cement plants | Plant |  | 1 |  |

X
- Definition Number of cement plants. + References No definition available. + Details
Name: | mlm_NumberOfCementPlants
Namespace Prefix: | mlm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of quarries and yards. + References No definition available. + Details
Name: | mlm_NumberOfQuarriesAndYards
Namespace Prefix: | mlm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Significant accounting policies. + References No definition available. + Details
Name: | mlm_SignificantAccountingPoliciesLineItems
Namespace Prefix: | mlm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 18 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8672-108599 + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of states the entity operates in as of the balance sheet date. + References No definition available. + Details
Name: | us-gaap_NumberOfStatesInWhichEntityOperates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount after tax, before reclassification adjustments of other comprehensive income (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 17 -URI https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 55 -Paragraph 15 -URI https://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 20 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(1)(a)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(2)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_RestrictedCash
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=stpr_CA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |