XML 19 R8.htm IDEA: XBRL DOCUMENT
v3.25.3

CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (Parentheticals) $ in Millions | 3 Months Ended
--- | ---
Sep. 30, 2025 shares | Sep. 30, 2024 shares
CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY |  |
ESOP shares committed to be released | 2,363 | 874

X
- Definition Number of ESOP shares committed to be released + References No definition available. + Details
Name: | mara_EmployeeStockOwnershipPlanEsopAmountOfCommittedToBeReleasedSharesInShares
Namespace Prefix: | mara_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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