XML 68 R57.htm IDEA: XBRL DOCUMENT
v3.22.2

Accrued Severance Benefits - Changes in Accrued Severance Benefits (Detail) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Dec. 31, 2021
Postemployment Benefits [Abstract] |  |  |  |  |
Beginning balance | $ 50,771 | $ 52,553 | $ 51,567 | $ 54,452 |
Provisions | 1,570 | 1,736 | 3,240 | 3,507 |
Severance payments | (1,545) | (1,343) | (2,934) | (2,836) |
Translation adjustments | (3,210) | 159 | (4,287) | (2,018) |
Ending balance | 47,586 | 53,105 | 47,586 | 53,105 |
Less: Cumulative contributions to severance insurance deposit accounts | (16,894) | (13,316) | (16,894) | (13,316) |
The National Pension Fund | (44) | (59) | (44) | (59) |
Group severance insurance plan | (182) | (210) | (182) | (210) |
Accrued severance benefits, net | $ 30,466 | $ 39,520 | $ 30,466 | $ 39,520 | $ 33,064

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: | duration

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: | duration

X
- Definition Group severance insurance plan. + References No definition available. + Details
Name: | mx_GroupSeveranceInsurancePlan
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 712 -SubTopic 10 -Section 25 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=6410138&loc=d3e79691-111665 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 712 -SubTopic 10 -Section 25 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=6410138&loc=d3e79708-111665 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.15) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.15) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + 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