XML 74 R65.htm IDEA: XBRL DOCUMENT
v3.25.3

Derivative Financial Instruments - Additional Information (Detail) - USD ($) $ in Thousands | Sep. 30, 2025 | Dec. 31, 2024
--- | --- | ---
Derivative [Line Items] |  |
Derivative Instruments, Gain (Loss) Reclassification from Accumulated OCI to Income, Estimated Net Amount to be Transferred | $ 369 |
Zero Cost Collar and Forward Contracts [Member] | Nomura Financial Investment (Korea) Co., Ltd. [Member] |  |
Derivative [Line Items] |  |
Threshold amount of cash collateral | 500 | $ 500
Threshold amount of additional cash collateral | 1,080 | $ 1,080
Termination provisions for cash and cash equivalents | $ 30,000 |

X
- Definition Derivative instruments gain loss reclassifications from accumulated oci to income estimated net amount to be transferred. + References No definition available. + Details
Name: | mx_DerivativeInstrumentsGainLossReclassificationsFromAccumulatedOciToIncomeEstimatedNetAmountToBeTransferred
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Minimum sum of qualified and unrestricted cash and cash equivalents. + References No definition available. + Details
Name: | mx_MinimumSumOfQualifiedAndUnrestrictedCashAndCashEquivalents
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Foreign currency exposure. + References No definition available. + Details
Name: | mx_ThresholdAmountCashCollateralForeignCurrencyExposure
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Threshold amount of additional cash collateral recorded as hedge collateral. + References No definition available. + Details
Name: | mx_ThresholdAmountOfAdditionalCashCollateralRecordedAsHedgeCollateral
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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/2009/role/commonPracticeRef -Topic 815 -SubTopic 20 -Name Accounting Standards Codification -Section 25 -Paragraph 6A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480682/815-20-25-6A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480237/815-40-50-5 + Details
Name: | us-gaap_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=mx_ZeroCostCollarAndForwardContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=mx_NomuraFinancialInvestmentCoLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |