XML 51 R42.htm IDEA: XBRL DOCUMENT
v3.25.3

Discontinued Operations - Schedule of Results From Discontinued Operations (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2025 | Sep. 30, 2024 | Sep. 30, 2025 | Sep. 30, 2024
Operating expenses: |  |  |  |
Loss from discontinued operations, net of tax | $ (2,481) | $ (5,696) | $ (16,188) | $ (18,423)
Discontinued Operations |  |  |  |
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items] |  |  |  |
Net sales | 7,233 | 11,026 | 24,519 | 23,426
Cost of sales | 3,693 | 7,071 | 14,200 | 15,047
Gross profit | 3,540 | 3,955 | 10,319 | 8,379
Operating expenses: |  |  |  |
Early termination charges | 0 |  | 1,561 |
Impairment and other charges | 5,171 |  | 12,758 |
Total operating expenses | 5,448 | 10,471 | 25,433 | 26,520
Operating loss from discontinued operations | (1,908) | (6,516) | (15,114) | (18,141)
Interest income | 0 | 112 | 215 | 278
Interest expense | (30) | (102) | (272) | (223)
Foreign currency gain (loss), net | 132 | (181) | (296) | (104)
Other income, net | 58 |  | 202 |
Loss from discontinued operations before income tax expense | (1,748) | (6,687) | (15,265) | (18,190)
Income tax expense, net | 733 | (991) | 923 | 233
Loss from discontinued operations, net of tax | (2,481) | (5,696) | (16,188) | (18,423)
Selling, general and administrative expenses | Discontinued Operations |  |  |  |
Operating expenses: |  |  |  |
Total operating expenses | (49) | 2,570 | 1,535 | 6,748
Research and development expenses | Discontinued Operations |  |  |  |
Operating expenses: |  |  |  |
Total operating expenses | $ 326 | $ 7,901 | $ 9,579 | $ 19,772

X
- Definition Disposal group including discontinued operation early termination charges. + References No definition available. + Details
Name: | mx_DisposalGroupIncludingDiscontinuedOperationEarlyTerminationCharges
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Disposal group including discontinued operation impairment and other charges. + References No definition available. + Details
Name: | mx_DisposalGroupIncludingDiscontinuedOperationImpairmentAndOtherCharges
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Amount before tax of income (loss) from a discontinued operation. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(12)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3A -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-3A Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-5B Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-3B Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-4 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-1 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-3 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(14)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of tax expense (benefit) related to a discontinued operation. Includes, but is not limited to, tax expense (benefit) related to income (loss) from operations during the phase-out period, tax expense (benefit) related to gain (loss) on disposal, tax expense (benefit) related to gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and tax expense (benefit) related to adjustments of a prior period gain (loss) on disposal. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 6.I.7) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479360/740-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-10 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482659/740-20-45-2 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3A -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-3A Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-5B Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5C -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-5C Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-3B Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-4 Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-1 + Details
Name: | us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of costs of goods sold 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_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of foreign currency translation gain (loss) in the disposal group, including discontinued operation, recognized in the statement of income as a result of the sale or complete or substantially complete liquidation of an investment in a foreign entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 20 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-20 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationForeignCurrencyTranslationGainsLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 interest 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 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section S99 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480781/205-20-S99-3 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-6 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-7 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of interest income 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_DisposalGroupIncludingDiscontinuedOperationInterestIncome
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 operating income (loss) 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_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of other income 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_DisposalGroupIncludingDiscontinuedOperationOtherIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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
- Definition Amount after tax of income (loss) from a discontinued operation including the portion attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(12)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 270 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477349/740-270-45-3 Reference 3: 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 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3A -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-3A Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5C -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-5C Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-3B Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-4 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-1 Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-3 + Details
Name: | us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3A -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482099/360-10-50-3A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482099/360-10-50-3A + Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DisposalGroupClassificationAxis=us-gaap_SegmentDiscontinuedOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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