XML 60 R51.htm IDEA: XBRL DOCUMENT
v3.25.2

Accounts receivable and allowance for credit losses (Details 1) | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2025 USD ($) | Jun. 30, 2025 CNY (¥) | Dec. 31, 2023 CNY (¥)
Credit Loss [Abstract] |  |  |
Beginning balance |  |  | ¥ 3,951,391
Addition |  |  |
Recovery |  |  | (3,951,391)
Ending balance |  |  |

X
- References No definition available. + Details
Name: | mlgo_AllowanceForDoubtfulAccountsAddition
Namespace Prefix: | mlgo_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | mlgo_AllowanceForDoubtfulAccountsReceivables
Namespace Prefix: | mlgo_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase in allowance for credit loss on accounts receivable, from recovery. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivableRecoveries
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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