XML 52 R43.htm IDEA: XBRL DOCUMENT
v3.25.3

Discontinued Operations - Schedule of Cash Flow Information Related to Discontinued Operation (Detail) - USD ($) $ in Thousands | 9 Months Ended
--- | ---
Sep. 30, 2025 | Sep. 30, 2024
Significant non-cash operating activities: |  |
Impairment charges | $ 12,424 | $ 0
Discontinued Operations [Member] |  |
Significant non-cash operating activities: |  |
Depreciation and amortization | 376 | 1,183
Provision for severance benefits | (225) | 979
Stock-based compensation | (353) | 576
Impairment charges | 12,424 |
Investing activities: |  |
Capital expenditures | $ (99) | $ (1,597)

X
- Definition Impairment charges. + References No definition available. + Details
Name: | mx_ImpairmentCharges
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Provision for severance benefits discontinued operation. + References No definition available. + Details
Name: | mx_ProvisionForSeveranceBenefitsDiscontinuedOperation
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Stock based compensation discontinued operation. + References No definition available. + Details
Name: | mx_StockBasedCompensationDiscontinuedOperation
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of capital expenditure attributable to discontinued operations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5B -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-5B + Details
Name: | us-gaap_CapitalExpenditureDiscontinuedOperations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of deprecation and amortization expense attributable to property, plant and equipment and intangible assets of discontinued operations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5B -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-5B + Details
Name: | us-gaap_DepreciationAndAmortizationDiscontinuedOperations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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