XML 53 R44.htm IDEA: XBRL DOCUMENT
v3.25.3

Discontinued Operations - Schedule of Discontinued Operation Income Loss From Discontinued Operation Disclosures (Details) - Korean Subsidiary [Member] - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2025 | Sep. 30, 2025
Discontinued Operation Income Loss From Discontinued Operation Disclosures [Line Items] |  |
Gross profit | $ 3,540 | $ 4,473
Operating expenses | 342 | 485
Sales [Member] |  |
Discontinued Operation Income Loss From Discontinued Operation Disclosures [Line Items] |  |
Net sales | $ 7,233 | $ 9,551

X
- Definition Discontinued operation income loss from discontinued operation disclosures. + References No definition available. + Details
Name: | mx_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDisclosuresLineItems
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of gross profit attributable to disposal group, including, but not limited to, discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-7 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-5B + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of operating expense attributable to disposal group, including, but not limited to, discontinued operation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-5B + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of revenue attributable to disposal group, including, but not limited to, discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-7 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-5B + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=mx_KoreanSubsidiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |