XML 76 R67.htm IDEA: XBRL DOCUMENT
v3.25.3

Accrued Severance Benefits - Changes in Accrued Severance Benefits (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Sep. 30, 2025 | Sep. 30, 2024 | Sep. 30, 2025 | Sep. 30, 2024 | Dec. 31, 2024
Postemployment Benefits [Abstract] |  |  |  |  |
Beginning balance | $ 41,581 | $ 44,198 | $ 45,594 | $ 45,932 |
Provisions | 693 | 1,582 | 2,868 | 4,552 |
Severance payments | (826) | (527) | (10,669) | (1,889) |
Translation adjustments | (1,357) | 2,368 | 2,298 | (974) |
Ending balance | 40,091 | 47,621 | 40,091 | 47,621 |
Less: Cumulative contributions to severance insurance deposit accounts | (25,859) | (30,246) | (25,859) | (30,246) |
The National Pension Fund | (19) | (28) | (19) | (28) |
Accrued severance benefits, net | $ 14,213 | $ 17,347 | $ 14,213 | $ 17,347 | $ 17,094

X
- Definition Cumulative contributions to national pension fund. + References No definition available. + Details
Name: | mx_CumulativeContributionsToNationalPensionFund
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cumulative contributions to severance insurance deposit accounts. + References No definition available. + Details
Name: | mx_CumulativeContributionsToSeveranceInsuranceDepositAccounts
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Postemployment benefits provisions. + References No definition available. + Details
Name: | mx_PostemploymentBenefitsProvisions
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Postemployment benefits severance payments. + References No definition available. + Details
Name: | mx_PostemploymentBenefitsSeverancePayments
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Postemployment benefits translation adjustment. + References No definition available. + Details
Name: | mx_PostemploymentBenefitsTranslationAdjustment
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition The carrying amount as of the balance sheet date of the obligations recognized for the various benefits provided to former or inactive employees, their beneficiaries, and covered dependents after employment but before retirement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(15)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 712 -SubTopic 10 -Name Accounting Standards Codification -Section 25 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481179/712-10-25-4 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 712 -SubTopic 10 -Name Accounting Standards Codification -Section 25 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481179/712-10-25-5 + Details
Name: | us-gaap_PostemploymentBenefitsLiabilityCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Liability for amount due employees, in addition to wages and any other money that employers owe employees, when their employment ends through a layoff or other termination. For example, a company may provide involuntarily terminated employees with a lump sum payment equal to one week's salary for every year of employment. + References No definition available. + Details
Name: | us-gaap_SupplementalUnemploymentBenefitsSeveranceBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant