XML 78 R57.htm IDEA: XBRL DOCUMENT
v3.25.0.1

ACQUISITIONS - Schedule of Pro Forma Results of Acquisition (Details) - Garden City Acquisition and GC Data Center Equity Holdings - USD ($) $ / shares in Units, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Business Acquisition [Line Items] |  |
Revenue | $ 675,045 | $ 492,057
Income before income taxes | $ 623,764 | $ 223,636
Earnings per common share: |  |
Basic (in dollars per share) | $ 1.89 | $ 1.14
Diluted (in dollars per share) | $ 1.76 | $ 0.81

X
- Definition Business Acquisition, Pro Forma Net Income (Loss), Before Tax + References No definition available. + Details
Name: | mara_BusinessAcquisitionProFormaNetIncomeLossBeforeTax
Namespace Prefix: | mara_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-5 + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The pro forma basic net income per share for a period as if the business combination or combinations had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(2) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(3) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The pro forma diluted net income per share for a period as if the business combination or combinations had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(2) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(3) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_BusinessAcquisitionsProFormaRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mara_GardenCityAcquisitionAndGCDataCenterEquityHoldingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |