<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:mtc="http://haisc.com/20260630"
  xmlns:us-gaap="http://fasb.org/us-gaap/2026"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef xlink:href="mtc-20260630.xsd" xlink:type="simple"/>
    <context id="cref_1963286735">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="cref_1334723807">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AccumulatedOtherComprehensiveIncomeMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="cref_663701179">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="cref_409040696">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="cref_763222547">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="cref_1598280237">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="cref_2025170815">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AccumulatedOtherComprehensiveIncomeMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="cref_407410293">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="cref_742432913">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
        </entity>
        <period>
            <instant>2025-12-31</instant>
        </period>
    </context>
    <context id="cref_518820562">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AccumulatedOtherComprehensiveIncomeMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-12-31</instant>
        </period>
    </context>
    <context id="cref_1453351533">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-12-31</instant>
        </period>
    </context>
    <context id="cref_755104448">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-12-31</instant>
        </period>
    </context>
    <context id="cref_2056356315">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-12-31</instant>
        </period>
    </context>
    <context id="cref_1169378362">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
        </entity>
        <period>
            <instant>2025-06-30</instant>
        </period>
    </context>
    <context id="cref_904899087">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AccumulatedOtherComprehensiveIncomeMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-06-30</instant>
        </period>
    </context>
    <context id="cref_62338392">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-06-30</instant>
        </period>
    </context>
    <context id="cref_487829411">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-06-30</instant>
        </period>
    </context>
    <context id="cref_60681263">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-06-30</instant>
        </period>
    </context>
    <context id="cref_789695606">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-06-30</endDate>
        </period>
    </context>
    <context id="cref_1254207946">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AccumulatedOtherComprehensiveIncomeMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-06-30</endDate>
        </period>
    </context>
    <context id="cref_1793926158">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-06-30</endDate>
        </period>
    </context>
    <context id="cref_362549253">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
        </entity>
        <period>
            <instant>2024-12-31</instant>
        </period>
    </context>
    <context id="cref_135568557">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AccumulatedOtherComprehensiveIncomeMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-12-31</instant>
        </period>
    </context>
    <context id="cref_1272042945">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-12-31</instant>
        </period>
    </context>
    <context id="cref_1910298365">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-12-31</instant>
        </period>
    </context>
    <context id="cref_1465054587">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-12-31</instant>
        </period>
    </context>
    <context id="cref_666698413">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-06-30</endDate>
        </period>
    </context>
    <context id="cref_1649025508">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-06-30</endDate>
        </period>
    </context>
    <context id="cref_962903321">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="cref_1699407868">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001742518</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <unit id="uref_1963286735">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="uref_1934044505">
        <measure>shares</measure>
    </unit>
    <unit id="uref_1784260926">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax
      contextRef="cref_666698413"
      id="fc_666698413"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax
      contextRef="cref_1649025508"
      id="fc_1649025508"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax
      contextRef="cref_1793926158"
      id="fc_1082403747"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:ProvisionForOtherCreditLosses
      contextRef="cref_1598280237"
      id="fc_1871759379"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:InterestIncomeOperating
      contextRef="cref_1598280237"
      id="fc_644087969"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <mtc:GainsLossOnSaleOfNotesReceivable
      contextRef="cref_1598280237"
      id="fc_1334069203"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:IncreaseDecreaseInDepositOtherAssets
      contextRef="cref_789695606"
      id="fc_1212110578"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment
      contextRef="cref_789695606"
      id="fc_972818219"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:ProceedsFromSaleOfNotesReceivable
      contextRef="cref_1598280237"
      id="fc_1813786866"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:IncomeTaxesPaidNet
      contextRef="cref_1598280237"
      id="fc_2037441862"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:Revenues
      contextRef="cref_1598280237"
      id="fc_733860125"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:CostOfRevenue
      contextRef="cref_1598280237"
      id="fc_798496873"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:GrossProfit
      contextRef="cref_1598280237"
      id="fc_330688876"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:GeneralAndAdministrativeExpense
      contextRef="cref_1598280237"
      id="fc_683877"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:GeneralAndAdministrativeExpense
      contextRef="cref_789695606"
      id="fc_451865861"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <mtc:AllowanceForCreditLossesnotesReceivable
      contextRef="cref_1598280237"
      id="fc_1417731184"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <mtc:GainsLossOnSaleOfNotesReceivable
      contextRef="cref_1598280237"
      id="fc_190985295"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:IncomeTaxExpenseBenefit
      contextRef="cref_1598280237"
      id="fc_617574844"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <dei:EntityCentralIndexKey contextRef="cref_1598280237" id="ixv-2178">0001742518</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="cref_1598280237" id="ixv-2179">false</dei:AmendmentFlag>
    <dei:DocumentFiscalPeriodFocus contextRef="cref_1598280237" id="ixv-2180">Q2</dei:DocumentFiscalPeriodFocus>
    <dei:CurrentFiscalYearEndDate contextRef="cref_1598280237" id="ixv-2181">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:DocumentPeriodEndDate contextRef="cref_1598280237" id="ixv-2182">2026-06-30</dei:DocumentPeriodEndDate>
    <us-gaap:CashAcquiredFromAcquisition
      contextRef="cref_789695606"
      id="fc_271629813"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:ProceedsFromCollectionOfNotesReceivable
      contextRef="cref_1598280237"
      id="fc_910219597"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:NetIncomeLoss
      contextRef="cref_666698413"
      id="fc_282152131"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:NetIncomeLoss
      contextRef="cref_1649025508"
      id="fc_1094437558"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:NetIncomeLoss
      contextRef="cref_1254207946"
      id="fc_809836855"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:NetIncomeLoss
      contextRef="cref_962903321"
      id="fc_962903321"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:NetIncomeLoss
      contextRef="cref_1699407868"
      id="fc_1699407868"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:NetIncomeLoss
      contextRef="cref_2025170815"
      id="fc_1030561192"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax
      contextRef="cref_962903321"
      id="fc_747284603"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax
      contextRef="cref_1699407868"
      id="fc_141804737"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax
      contextRef="cref_407410293"
      id="fc_1399697752"
      unitRef="uref_1963286735"
      xsi:nil="true"/>
    <dei:DocumentType contextRef="cref_1598280237" id="ixv-2415">6-K</dei:DocumentType>
    <dei:DocumentFiscalYearFocus contextRef="cref_1598280237" id="ixv-2416">2026</dei:DocumentFiscalYearFocus>
    <dei:EntityFileNumber contextRef="cref_1598280237" id="ixv-2417">001-38766</dei:EntityFileNumber>
    <dei:EntityRegistrantName contextRef="cref_1598280237" id="ixv-2418">MMTEC, INC.</dei:EntityRegistrantName>
    <us-gaap:CashAndCashEquivalentsAtCarryingValue
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1707495748"
      unitRef="uref_1963286735">6507161</us-gaap:CashAndCashEquivalentsAtCarryingValue>
    <us-gaap:CashAndCashEquivalentsAtCarryingValue
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2420"
      unitRef="uref_1963286735">8185502</us-gaap:CashAndCashEquivalentsAtCarryingValue>
    <us-gaap:DepositsAssetsCurrent
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1910217158"
      unitRef="uref_1963286735">4002</us-gaap:DepositsAssetsCurrent>
    <us-gaap:DepositsAssetsCurrent
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2422"
      unitRef="uref_1963286735">8089</us-gaap:DepositsAssetsCurrent>
    <us-gaap:PrepaidExpenseAndOtherAssetsCurrent
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1013228793"
      unitRef="uref_1963286735">242855</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
    <us-gaap:PrepaidExpenseAndOtherAssetsCurrent
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2424"
      unitRef="uref_1963286735">169716</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
    <us-gaap:AssetsCurrent
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_365267454"
      unitRef="uref_1963286735">6754018</us-gaap:AssetsCurrent>
    <us-gaap:AssetsCurrent
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2426"
      unitRef="uref_1963286735">8363307</us-gaap:AssetsCurrent>
    <us-gaap:DepositsAssetsNoncurrent
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_796355737"
      unitRef="uref_1963286735">109573</us-gaap:DepositsAssetsNoncurrent>
    <us-gaap:DepositsAssetsNoncurrent
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2428"
      unitRef="uref_1963286735">135781</us-gaap:DepositsAssetsNoncurrent>
    <us-gaap:PropertyPlantAndEquipmentNet
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1510479503"
      unitRef="uref_1963286735">6452</us-gaap:PropertyPlantAndEquipmentNet>
    <us-gaap:PropertyPlantAndEquipmentNet
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2430"
      unitRef="uref_1963286735">2506</us-gaap:PropertyPlantAndEquipmentNet>
    <us-gaap:NotesReceivableNet
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1266320611"
      unitRef="uref_1963286735">9409560</us-gaap:NotesReceivableNet>
    <us-gaap:NotesReceivableNet
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2432"
      unitRef="uref_1963286735">9409560</us-gaap:NotesReceivableNet>
    <us-gaap:OperatingLeaseRightOfUseAsset
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1083709541"
      unitRef="uref_1963286735">367572</us-gaap:OperatingLeaseRightOfUseAsset>
    <us-gaap:OperatingLeaseRightOfUseAsset
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2434"
      unitRef="uref_1963286735">507251</us-gaap:OperatingLeaseRightOfUseAsset>
    <us-gaap:AssetsNoncurrent
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_103860943"
      unitRef="uref_1963286735">9893157</us-gaap:AssetsNoncurrent>
    <us-gaap:AssetsNoncurrent
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2436"
      unitRef="uref_1963286735">10055098</us-gaap:AssetsNoncurrent>
    <us-gaap:Assets
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_268263359"
      unitRef="uref_1963286735">16647175</us-gaap:Assets>
    <us-gaap:Assets
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2438"
      unitRef="uref_1963286735">18418405</us-gaap:Assets>
    <us-gaap:AccruedSalariesCurrent
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1162864378"
      unitRef="uref_1963286735">118098</us-gaap:AccruedSalariesCurrent>
    <us-gaap:AccruedSalariesCurrent
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2440"
      unitRef="uref_1963286735">194100</us-gaap:AccruedSalariesCurrent>
    <us-gaap:DeferredIncomeCurrent
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1266201380"
      unitRef="uref_1963286735">100000</us-gaap:DeferredIncomeCurrent>
    <us-gaap:DeferredIncomeCurrent
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2442"
      unitRef="uref_1963286735">100000</us-gaap:DeferredIncomeCurrent>
    <us-gaap:AccountsPayableAndOtherAccruedLiabilitiesCurrent
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1279148463"
      unitRef="uref_1963286735">96954</us-gaap:AccountsPayableAndOtherAccruedLiabilitiesCurrent>
    <us-gaap:AccountsPayableAndOtherAccruedLiabilitiesCurrent
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2444"
      unitRef="uref_1963286735">84399</us-gaap:AccountsPayableAndOtherAccruedLiabilitiesCurrent>
    <us-gaap:OperatingLeaseLiabilityCurrent
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1022361908"
      unitRef="uref_1963286735">284051</us-gaap:OperatingLeaseLiabilityCurrent>
    <us-gaap:OperatingLeaseLiabilityCurrent
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2446"
      unitRef="uref_1963286735">290703</us-gaap:OperatingLeaseLiabilityCurrent>
    <us-gaap:LiabilitiesCurrent
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1415516674"
      unitRef="uref_1963286735">599103</us-gaap:LiabilitiesCurrent>
    <us-gaap:LiabilitiesCurrent
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2448"
      unitRef="uref_1963286735">669202</us-gaap:LiabilitiesCurrent>
    <us-gaap:OperatingLeaseLiabilityNoncurrent
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1604883570"
      unitRef="uref_1963286735">35327</us-gaap:OperatingLeaseLiabilityNoncurrent>
    <us-gaap:OperatingLeaseLiabilityNoncurrent
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2450"
      unitRef="uref_1963286735">180046</us-gaap:OperatingLeaseLiabilityNoncurrent>
    <us-gaap:ConvertibleLongTermNotesPayable
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1078392554"
      unitRef="uref_1963286735">3050008</us-gaap:ConvertibleLongTermNotesPayable>
    <us-gaap:ConvertibleLongTermNotesPayable
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2452"
      unitRef="uref_1963286735">3050000</us-gaap:ConvertibleLongTermNotesPayable>
    <us-gaap:LiabilitiesNoncurrent
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_153128093"
      unitRef="uref_1963286735">3085335</us-gaap:LiabilitiesNoncurrent>
    <us-gaap:LiabilitiesNoncurrent
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2454"
      unitRef="uref_1963286735">3230046</us-gaap:LiabilitiesNoncurrent>
    <us-gaap:Liabilities
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1684020922"
      unitRef="uref_1963286735">3684438</us-gaap:Liabilities>
    <us-gaap:Liabilities
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2456"
      unitRef="uref_1963286735">3899248</us-gaap:Liabilities>
    <us-gaap:CommonStockParOrStatedValuePerShare
      contextRef="cref_1963286735"
      decimals="2"
      id="fc_628955959"
      unitRef="uref_1784260926">0.08</us-gaap:CommonStockParOrStatedValuePerShare>
    <us-gaap:CommonStockParOrStatedValuePerShare
      contextRef="cref_742432913"
      decimals="2"
      id="ixv-2458"
      unitRef="uref_1784260926">0.08</us-gaap:CommonStockParOrStatedValuePerShare>
    <us-gaap:CommonStockSharesAuthorized
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1582027636"
      unitRef="uref_1934044505">625000000</us-gaap:CommonStockSharesAuthorized>
    <us-gaap:CommonStockSharesAuthorized
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2460"
      unitRef="uref_1934044505">625000000</us-gaap:CommonStockSharesAuthorized>
    <us-gaap:CommonStockSharesIssued
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_280930691"
      unitRef="uref_1934044505">99587811</us-gaap:CommonStockSharesIssued>
    <us-gaap:CommonStockSharesOutstanding
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_383484566"
      unitRef="uref_1934044505">99587811</us-gaap:CommonStockSharesOutstanding>
    <us-gaap:CommonStockSharesIssued
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2463"
      unitRef="uref_1934044505">99587811</us-gaap:CommonStockSharesIssued>
    <us-gaap:CommonStockSharesOutstanding
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2464"
      unitRef="uref_1934044505">99587811</us-gaap:CommonStockSharesOutstanding>
    <us-gaap:CommonStockValue
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1205008208"
      unitRef="uref_1963286735">7967024</us-gaap:CommonStockValue>
    <us-gaap:CommonStockValue
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2466"
      unitRef="uref_1963286735">7967024</us-gaap:CommonStockValue>
    <us-gaap:AdditionalPaidInCapitalCommonStock
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1381243136"
      unitRef="uref_1963286735">130728219</us-gaap:AdditionalPaidInCapitalCommonStock>
    <us-gaap:AdditionalPaidInCapitalCommonStock
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2468"
      unitRef="uref_1963286735">130728219</us-gaap:AdditionalPaidInCapitalCommonStock>
    <us-gaap:RetainedEarningsAccumulatedDeficit
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1326961892"
      unitRef="uref_1963286735">-125571521</us-gaap:RetainedEarningsAccumulatedDeficit>
    <us-gaap:RetainedEarningsAccumulatedDeficit
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2470"
      unitRef="uref_1963286735">-123994872</us-gaap:RetainedEarningsAccumulatedDeficit>
    <us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_315766804"
      unitRef="uref_1963286735">-160985</us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax>
    <us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2472"
      unitRef="uref_1963286735">-181214</us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax>
    <us-gaap:StockholdersEquity
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_820539055"
      unitRef="uref_1963286735">12962737</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2474"
      unitRef="uref_1963286735">14519157</us-gaap:StockholdersEquity>
    <us-gaap:LiabilitiesAndStockholdersEquity
      contextRef="cref_1963286735"
      decimals="0"
      id="fc_1556626957"
      unitRef="uref_1963286735">16647175</us-gaap:LiabilitiesAndStockholdersEquity>
    <us-gaap:LiabilitiesAndStockholdersEquity
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2476"
      unitRef="uref_1963286735">18418405</us-gaap:LiabilitiesAndStockholdersEquity>
    <us-gaap:Revenues
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2477"
      unitRef="uref_1963286735">807500</us-gaap:Revenues>
    <us-gaap:CostOfRevenue
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2478"
      unitRef="uref_1963286735">133000</us-gaap:CostOfRevenue>
    <us-gaap:GrossProfit
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2479"
      unitRef="uref_1963286735">674500</us-gaap:GrossProfit>
    <us-gaap:SellingAndMarketingExpense
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_11324631"
      unitRef="uref_1963286735">126474</us-gaap:SellingAndMarketingExpense>
    <us-gaap:SellingAndMarketingExpense
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2481"
      unitRef="uref_1963286735">183679</us-gaap:SellingAndMarketingExpense>
    <us-gaap:LaborAndRelatedExpense
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_2024690476"
      unitRef="uref_1963286735">745380</us-gaap:LaborAndRelatedExpense>
    <us-gaap:LaborAndRelatedExpense
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2483"
      unitRef="uref_1963286735">952122</us-gaap:LaborAndRelatedExpense>
    <us-gaap:ProfessionalFees
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1196509205"
      unitRef="uref_1963286735">371262</us-gaap:ProfessionalFees>
    <us-gaap:ProfessionalFees
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2485"
      unitRef="uref_1963286735">536034</us-gaap:ProfessionalFees>
    <mtc:OtherGeneralAndAdministrative
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_975448514"
      unitRef="uref_1963286735">413441</mtc:OtherGeneralAndAdministrative>
    <mtc:OtherGeneralAndAdministrative
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2487"
      unitRef="uref_1963286735">534871</mtc:OtherGeneralAndAdministrative>
    <us-gaap:OperatingExpenses
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_2061341876"
      unitRef="uref_1963286735">1656557</us-gaap:OperatingExpenses>
    <us-gaap:OperatingExpenses
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2489"
      unitRef="uref_1963286735">2206706</us-gaap:OperatingExpenses>
    <us-gaap:OperatingIncomeLoss
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_934681480"
      unitRef="uref_1963286735">-1656557</us-gaap:OperatingIncomeLoss>
    <us-gaap:OperatingIncomeLoss
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2491"
      unitRef="uref_1963286735">-1532206</us-gaap:OperatingIncomeLoss>
    <us-gaap:InvestmentIncomeInterest
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1139528372"
      unitRef="uref_1963286735">106776</us-gaap:InvestmentIncomeInterest>
    <us-gaap:InvestmentIncomeInterest
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2493"
      unitRef="uref_1963286735">1946980</us-gaap:InvestmentIncomeInterest>
    <us-gaap:InterestExpenseNonoperating
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_2060656574"
      unitRef="uref_1963286735">15479</us-gaap:InterestExpenseNonoperating>
    <us-gaap:InterestExpenseNonoperating
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2495"
      unitRef="uref_1963286735">1202800</us-gaap:InterestExpenseNonoperating>
    <mtc:AllowanceForCreditLossesnotesReceivable
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2496"
      unitRef="uref_1963286735">-24347489</mtc:AllowanceForCreditLossesnotesReceivable>
    <mtc:GainsLossOnSaleOfNotesReceivable
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2497"
      unitRef="uref_1963286735">-21292430</mtc:GainsLossOnSaleOfNotesReceivable>
    <us-gaap:OtherNonoperatingIncomeExpense
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1995894294"
      unitRef="uref_1963286735">-2559</us-gaap:OtherNonoperatingIncomeExpense>
    <us-gaap:OtherNonoperatingIncomeExpense
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2499"
      unitRef="uref_1963286735">337</us-gaap:OtherNonoperatingIncomeExpense>
    <mtc:ForeignCurrencyTransactionsGainLossBeforeTax
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1322652510"
      unitRef="uref_1963286735">-8830</mtc:ForeignCurrencyTransactionsGainLossBeforeTax>
    <mtc:ForeignCurrencyTransactionsGainLossBeforeTax
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2501"
      unitRef="uref_1963286735">4766</mtc:ForeignCurrencyTransactionsGainLossBeforeTax>
    <us-gaap:NonoperatingIncomeExpense
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1857872678"
      unitRef="uref_1963286735">79908</us-gaap:NonoperatingIncomeExpense>
    <us-gaap:NonoperatingIncomeExpense
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2503"
      unitRef="uref_1963286735">-44890636</us-gaap:NonoperatingIncomeExpense>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_2142549382"
      unitRef="uref_1963286735">-1576649</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2505"
      unitRef="uref_1963286735">-46422842</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeTaxExpenseBenefit
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2506"
      unitRef="uref_1963286735">5770</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:NetIncomeLoss
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_301997562"
      unitRef="uref_1963286735">-1576649</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2508"
      unitRef="uref_1963286735">-46428612</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1499208307"
      unitRef="uref_1963286735">-1576649</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2510"
      unitRef="uref_1963286735">-46428612</us-gaap:NetIncomeLoss>
    <us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_932252998"
      unitRef="uref_1963286735">-20229</us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax>
    <us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2512"
      unitRef="uref_1963286735">-3131</us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax>
    <us-gaap:ComprehensiveIncomeNetOfTax
      contextRef="cref_1598280237"
      decimals="0"
      id="ixv-2513"
      unitRef="uref_1963286735">-1556420</us-gaap:ComprehensiveIncomeNetOfTax>
    <us-gaap:ComprehensiveIncomeNetOfTax
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2514"
      unitRef="uref_1963286735">-46425481</us-gaap:ComprehensiveIncomeNetOfTax>
    <us-gaap:EarningsPerShareBasic
      contextRef="cref_1598280237"
      decimals="2"
      id="fc_1920100311"
      unitRef="uref_1784260926">-0.02</us-gaap:EarningsPerShareBasic>
    <us-gaap:EarningsPerShareDiluted
      contextRef="cref_1598280237"
      decimals="2"
      id="ixv-2516"
      unitRef="uref_1784260926">-0.02</us-gaap:EarningsPerShareDiluted>
    <us-gaap:EarningsPerShareBasic
      contextRef="cref_789695606"
      decimals="2"
      id="ixv-2517"
      unitRef="uref_1784260926">-1.84</us-gaap:EarningsPerShareBasic>
    <us-gaap:EarningsPerShareDiluted
      contextRef="cref_789695606"
      decimals="2"
      id="ixv-2518"
      unitRef="uref_1784260926">-1.84</us-gaap:EarningsPerShareDiluted>
    <us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_2048895749"
      unitRef="uref_1934044505">99587811</us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding>
    <us-gaap:WeightedAverageNumberOfSharesOutstandingBasic
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_319774737"
      unitRef="uref_1934044505">99587811</us-gaap:WeightedAverageNumberOfSharesOutstandingBasic>
    <us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2521"
      unitRef="uref_1934044505">25186864</us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding>
    <us-gaap:WeightedAverageNumberOfSharesOutstandingBasic
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2522"
      unitRef="uref_1934044505">25186864</us-gaap:WeightedAverageNumberOfSharesOutstandingBasic>
    <us-gaap:NetIncomeLoss
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_794510830"
      unitRef="uref_1963286735">-1576649</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2524"
      unitRef="uref_1963286735">-46428612</us-gaap:NetIncomeLoss>
    <us-gaap:Depreciation
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1784001748"
      unitRef="uref_1963286735">1171</us-gaap:Depreciation>
    <us-gaap:Depreciation
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2526"
      unitRef="uref_1963286735">19542</us-gaap:Depreciation>
    <us-gaap:ProvisionForOtherCreditLosses
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2527"
      unitRef="uref_1963286735">24347489</us-gaap:ProvisionForOtherCreditLosses>
    <mtc:NoncashLeaseExpense
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1674498194"
      unitRef="uref_1963286735">177376</mtc:NoncashLeaseExpense>
    <mtc:NoncashLeaseExpense
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2529"
      unitRef="uref_1963286735">204452</mtc:NoncashLeaseExpense>
    <us-gaap:ForeignCurrencyTransactionGainLossBeforeTax
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1119632648"
      unitRef="uref_1963286735">2437</us-gaap:ForeignCurrencyTransactionGainLossBeforeTax>
    <us-gaap:ForeignCurrencyTransactionGainLossBeforeTax
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2531"
      unitRef="uref_1963286735">1361</us-gaap:ForeignCurrencyTransactionGainLossBeforeTax>
    <mtc:GainsLossOnSaleOfNotesReceivable
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2532"
      unitRef="uref_1963286735">-21292430</mtc:GainsLossOnSaleOfNotesReceivable>
    <us-gaap:PaidInKindInterest
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1925235034"
      unitRef="uref_1963286735">15479</us-gaap:PaidInKindInterest>
    <us-gaap:PaidInKindInterest
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2534"
      unitRef="uref_1963286735">1202800</us-gaap:PaidInKindInterest>
    <us-gaap:InterestIncomeOperating
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2535"
      unitRef="uref_1963286735">1872203</us-gaap:InterestIncomeOperating>
    <us-gaap:IncreaseDecreaseInOperatingLeaseLiability
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_348938244"
      unitRef="uref_1963286735">-187980</us-gaap:IncreaseDecreaseInOperatingLeaseLiability>
    <us-gaap:IncreaseDecreaseInOperatingLeaseLiability
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2537"
      unitRef="uref_1963286735">-218828</us-gaap:IncreaseDecreaseInOperatingLeaseLiability>
    <us-gaap:IncreaseDecreaseInDepositOtherAssets
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_256791854"
      unitRef="uref_1963286735">-33527</us-gaap:IncreaseDecreaseInDepositOtherAssets>
    <us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1578647510"
      unitRef="uref_1963286735">67113</us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets>
    <us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2540"
      unitRef="uref_1963286735">61574</us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets>
    <us-gaap:IncreaseDecreaseInEmployeeRelatedLiabilities
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1431594189"
      unitRef="uref_1963286735">-77463</us-gaap:IncreaseDecreaseInEmployeeRelatedLiabilities>
    <us-gaap:IncreaseDecreaseInEmployeeRelatedLiabilities
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2542"
      unitRef="uref_1963286735">-215810</us-gaap:IncreaseDecreaseInEmployeeRelatedLiabilities>
    <us-gaap:IncreaseDecreaseInAccountsPayableAndAccruedLiabilities
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1579359695"
      unitRef="uref_1963286735">-2944</us-gaap:IncreaseDecreaseInAccountsPayableAndAccruedLiabilities>
    <us-gaap:IncreaseDecreaseInAccountsPayableAndAccruedLiabilities
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2544"
      unitRef="uref_1963286735">48843</us-gaap:IncreaseDecreaseInAccountsPayableAndAccruedLiabilities>
    <us-gaap:NetCashProvidedByUsedInOperatingActivities
      contextRef="cref_1598280237"
      decimals="0"
      id="ixv-2545"
      unitRef="uref_1963286735">-1687033</us-gaap:NetCashProvidedByUsedInOperatingActivities>
    <us-gaap:NetCashProvidedByUsedInOperatingActivities
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2546"
      unitRef="uref_1963286735">-1682832</us-gaap:NetCashProvidedByUsedInOperatingActivities>
    <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment
      contextRef="cref_1598280237"
      decimals="0"
      id="ixv-2547"
      unitRef="uref_1963286735">4990</us-gaap:PaymentsToAcquirePropertyPlantAndEquipment>
    <us-gaap:CashAcquiredFromAcquisition
      contextRef="cref_1598280237"
      decimals="0"
      id="ixv-2548"
      unitRef="uref_1963286735">28</us-gaap:CashAcquiredFromAcquisition>
    <us-gaap:ProceedsFromCollectionOfNotesReceivable
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2549"
      unitRef="uref_1963286735">4000000</us-gaap:ProceedsFromCollectionOfNotesReceivable>
    <us-gaap:ProceedsFromSaleOfNotesReceivable
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2550"
      unitRef="uref_1963286735">5000000</us-gaap:ProceedsFromSaleOfNotesReceivable>
    <us-gaap:NetCashProvidedByUsedInInvestingActivities
      contextRef="cref_1598280237"
      decimals="0"
      id="ixv-2551"
      unitRef="uref_1963286735">-4962</us-gaap:NetCashProvidedByUsedInInvestingActivities>
    <us-gaap:NetCashProvidedByUsedInInvestingActivities
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2552"
      unitRef="uref_1963286735">9000000</us-gaap:NetCashProvidedByUsedInInvestingActivities>
    <us-gaap:EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_197020919"
      unitRef="uref_1963286735">13654</us-gaap:EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <us-gaap:EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2554"
      unitRef="uref_1963286735">3035</us-gaap:EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect
      contextRef="cref_1598280237"
      decimals="0"
      id="fc_1808133086"
      unitRef="uref_1963286735">-1678341</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2556"
      unitRef="uref_1963286735">7320203</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2557"
      unitRef="uref_1963286735">8185502</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents
      contextRef="cref_362549253"
      decimals="0"
      id="ixv-2558"
      unitRef="uref_1963286735">2869241</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <mtc:CashCashEquivalentsRestrictedCashAndRestrictedsCashEquivalents
      contextRef="cref_1963286735"
      decimals="0"
      id="ixv-2559"
      unitRef="uref_1963286735">6507161</mtc:CashCashEquivalentsRestrictedCashAndRestrictedsCashEquivalents>
    <mtc:CashCashEquivalentsRestrictedCashAndRestrictedsCashEquivalents
      contextRef="cref_1169378362"
      decimals="0"
      id="ixv-2560"
      unitRef="uref_1963286735">10189444</mtc:CashCashEquivalentsRestrictedCashAndRestrictedsCashEquivalents>
    <us-gaap:IncomeTaxesPaidNet
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2561"
      unitRef="uref_1963286735">30295</us-gaap:IncomeTaxesPaidNet>
    <us-gaap:CommonStockSharesOutstanding
      contextRef="cref_1465054587"
      decimals="INF"
      id="ixv-2562"
      unitRef="uref_1934044505">25186864</us-gaap:CommonStockSharesOutstanding>
    <us-gaap:StockholdersEquity
      contextRef="cref_1465054587"
      decimals="0"
      id="ixv-2563"
      unitRef="uref_1963286735">2014949</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_1910298365"
      decimals="0"
      id="ixv-2564"
      unitRef="uref_1963286735">92709334</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_1272042945"
      decimals="0"
      id="ixv-2565"
      unitRef="uref_1963286735">-67919627</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_135568557"
      decimals="0"
      id="ixv-2566"
      unitRef="uref_1963286735">-201491</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_362549253"
      decimals="0"
      id="ixv-2567"
      unitRef="uref_1963286735">26603165</us-gaap:StockholdersEquity>
    <us-gaap:NetIncomeLoss
      contextRef="cref_1793926158"
      decimals="0"
      id="ixv-2568"
      unitRef="uref_1963286735">-46428612</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2569"
      unitRef="uref_1963286735">-46428612</us-gaap:NetIncomeLoss>
    <us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax
      contextRef="cref_1254207946"
      decimals="0"
      id="ixv-2570"
      unitRef="uref_1963286735">3131</us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax>
    <us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax
      contextRef="cref_789695606"
      decimals="0"
      id="ixv-2571"
      unitRef="uref_1963286735">3131</us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax>
    <us-gaap:CommonStockSharesOutstanding
      contextRef="cref_60681263"
      decimals="INF"
      id="ixv-2572"
      unitRef="uref_1934044505">25186864</us-gaap:CommonStockSharesOutstanding>
    <us-gaap:StockholdersEquity
      contextRef="cref_60681263"
      decimals="0"
      id="ixv-2573"
      unitRef="uref_1963286735">2014949</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_487829411"
      decimals="0"
      id="ixv-2574"
      unitRef="uref_1963286735">92709334</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_62338392"
      decimals="0"
      id="ixv-2575"
      unitRef="uref_1963286735">-114348239</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_904899087"
      decimals="0"
      id="ixv-2576"
      unitRef="uref_1963286735">-198360</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_1169378362"
      decimals="0"
      id="ixv-2577"
      unitRef="uref_1963286735">-19822316</us-gaap:StockholdersEquity>
    <us-gaap:CommonStockSharesOutstanding
      contextRef="cref_2056356315"
      decimals="0"
      id="ixv-2578"
      unitRef="uref_1934044505">99587811</us-gaap:CommonStockSharesOutstanding>
    <us-gaap:StockholdersEquity
      contextRef="cref_2056356315"
      decimals="0"
      id="ixv-2579"
      unitRef="uref_1963286735">7967024</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_755104448"
      decimals="0"
      id="ixv-2580"
      unitRef="uref_1963286735">130728219</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_1453351533"
      decimals="0"
      id="ixv-2581"
      unitRef="uref_1963286735">-123994872</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_518820562"
      decimals="0"
      id="ixv-2582"
      unitRef="uref_1963286735">-181214</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_742432913"
      decimals="0"
      id="ixv-2583"
      unitRef="uref_1963286735">14519157</us-gaap:StockholdersEquity>
    <us-gaap:NetIncomeLoss
      contextRef="cref_407410293"
      decimals="0"
      id="ixv-2584"
      unitRef="uref_1963286735">-1576649</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss
      contextRef="cref_1598280237"
      decimals="0"
      id="ixv-2585"
      unitRef="uref_1963286735">-1576649</us-gaap:NetIncomeLoss>
    <us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax
      contextRef="cref_2025170815"
      decimals="0"
      id="ixv-2586"
      unitRef="uref_1963286735">20229</us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax>
    <us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax
      contextRef="cref_1598280237"
      decimals="0"
      id="ixv-2587"
      unitRef="uref_1963286735">20229</us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax>
    <us-gaap:CommonStockSharesOutstanding
      contextRef="cref_763222547"
      decimals="0"
      id="ixv-2588"
      unitRef="uref_1934044505">99587811</us-gaap:CommonStockSharesOutstanding>
    <us-gaap:StockholdersEquity
      contextRef="cref_763222547"
      decimals="0"
      id="ixv-2589"
      unitRef="uref_1963286735">7967024</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_409040696"
      decimals="0"
      id="ixv-2590"
      unitRef="uref_1963286735">130728219</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_663701179"
      decimals="0"
      id="ixv-2591"
      unitRef="uref_1963286735">-125571521</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_1334723807"
      decimals="0"
      id="ixv-2592"
      unitRef="uref_1963286735">-160985</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity
      contextRef="cref_1963286735"
      decimals="0"
      id="ixv-2593"
      unitRef="uref_1963286735">12962737</us-gaap:StockholdersEquity>
</xbrl>
