XML 32 R23.htm IDEA: XBRL DOCUMENT
v3.20.1

Summary of Significant Accounting Policies - Schedule of Activities of Digital Currencies (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018
Accounting Policies [Abstract] |  |
Digital currencies, Beginning balance |  |
Additions of digital currencies | 1,185,227 | 1,495,402
Realized gain on sale of digital currencies | 36,092 | (152,485)
Sale of digital currencies | (1,220,178) | (1,342,917)
Digital currencies, Ending balance | $ 1,141 |

X
- Definition Realized gain (loss) on sale of digital currencies. + References No definition available. + Details
Name: | MARA_RealizedGainLossOnSaleOfDigitalCurrencies
Namespace Prefix: | MARA_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Amount of significant additions in the period in other assets (current, noncurrent, or unclassified). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_AdditionsToOtherAssetsAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Fair value portion of other assets. + References No definition available. + Details
Name: | us-gaap_OtherAssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of cash inflow from the sale of other assets as part of operating activities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfOtherAssets1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration