XML 21 R5.htm IDEA: XBRL DOCUMENT
v3.25.2

Consolidated Statements of Income (Loss) (Parentheticals) |  | 12 Months Ended
--- | --- | ---
Apr. 21, 2025 | Jun. 30, 2025
Consolidated Statements of Income (Loss) |  |
Exchange ratio for conversion of shares | 1.3728 | 1.3728

X
- Definition Represents the exchange ratio for conversion of shares. + References No definition available. + Details
Name: | mara_ConversionOfSharesExchangeRatio
Namespace Prefix: | mara_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

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