XML 96 R80.htm IDEA: XBRL DOCUMENT
v3.25.2

Employee Benefit Plans (Details) - USD ($) |  | 12 Months Ended |
--- | --- | --- | ---
Apr. 21, 2025 | Jun. 30, 2025 | Jun. 30, 2024 | Apr. 20, 2025
Employee Stock Ownership Plan (ESOP) Disclosures [Line Items] |  |  |  |
Maximum employee contribution |  | 15.00% |  |
Profit sharing expense |  | $ 69,600 | $ 68,175 |
Proceeds from term loan |  | $ 873,970 |  |
Purchase of ESOP shares |  | 87,397 |  |
Average price |  | $ 10 |  |
Shares issued to the ESOP | 135,472 |  |  |
Share price | $ 10 |  |  |
Amount of ESOP loan | $ 2,100,000 |  |  | $ 777,212
Compensation expense |  | $ 61,667 | $ 33,936 |
Shares released | 135,472 | 6,473 | 4,799 |
Number of shares not yet released |  | 231,528 |  |
Aggregate market value |  | $ 2,306,019 |  |
Vesting period |  | 3 years |  |
Existing ESOP Loan |  |  |  |
Employee Stock Ownership Plan (ESOP) Disclosures [Line Items] |  |  |  |
Amount of ESOP loan | $ 777,212 |  |  |
New ESOP Loan |  |  |  |
Employee Stock Ownership Plan (ESOP) Disclosures [Line Items] |  |  |  |
Amount of ESOP loan | $ 1,354,720 |  |  |

X
- Definition The value of shares that, although not legally released, will be released by a future scheduled and committed debt service payment and will be allocated to employees for service rendered in the current accounting period. + References No definition available. + Details
Name: | mara_EmployeeStockOwnershipPlanEsopValueOfSharesCommittedToBeReleased
Namespace Prefix: | mara_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480794/715-70-50-1 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Maximum percentage of employee gross pay the employee may contribute to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of plan compensation cost recognized during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 40 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480489/718-40-50-1 + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount reported as a liability as of the balance sheet date by the entity (the employer) of the loan made by a third-party lender directly to the ESOP. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 718 -SubTopic 40 -Name Accounting Standards Codification -Section 25 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480637/718-40-25-9 + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPDebtStructureDirectLoanAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 No definition available. + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The shares that, although not legally released, will be released by a future scheduled and committed debt service payment and will be allocated to employees for service rendered in the current accounting period. The ESOP documents typically define the period of service to which the shares relate. ESOP shares are released to compensate employees directly, to settle employer liabilities for other employee benefits, and to replace dividends on allocated shares that are used for debt service. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 40 -Section 50 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480489/718-40-50-1 + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPNumberOfCommittedToBeReleasedShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition This item represents the number of shares provided to the Employee Stock Ownership Plan (ESOP) during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 40 -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480489/718-40-50-1 + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPSharesContributedToESOP
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average purchase price of capital shares purchased through an employee stock ownership plan. + References No definition available. + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPWeightedAveragePurchasePriceOfSharesPurchased
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 14 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-14 + Details
Name: | us-gaap_ProceedsFromIssuanceOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Estimated period over which an employee is required to provide service in exchange for the equity-based payment award, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per share or per unit amount of equity securities issued. + References No definition available. + Details
Name: | us-gaap_SharesIssuedPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of capital stock issued (purchased by employees) in connection with an employee stock ownership plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 40 -Section 25 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480637/718-40-25-10 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesEmployeeStockOwnershipPlan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares issued during the period as a result of an employee stock purchase plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis=mara_ExistingEsopLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis=mara_NewEsopLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |