XML 142 R119.htm IDEA: XBRL DOCUMENT
v3.20.4

Retirement plans - Asset allocation (Details) | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Employee Benefits [Abstract] |  |
Equity securities | 18.00% | 18.00%
Debt securities | 57.00% | 57.00%
Cash and other short-term securities | 25.00% | 25.00%
Total | 100.00% | 100.00%

X
- Definition Cash And Cash Equivalents, Amount Contributed To Fair Value Of Plan Assets, Allocation Percentage + References No definition available. + Details
Name: | mx_CashAndCashEquivalentsAmountContributedToFairValueOfPlanAssetsAllocationPercentage
Namespace Prefix: | mx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instruments, Amount Contributed To Fair Value Of Plan Assets, Allocation Percentage + References No definition available. + Details
Name: | mx_DebtInstrumentsAmountContributedToFairValueOfPlanAssetsAllocationPercentage
Namespace Prefix: | mx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Employee Benefits [Abstract] + References No definition available. + Details
Name: | mx_EmployeeBenefitsAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity Instruments, Amount Contributed To Fair Value Of Plan Assets, Allocation Percentage + References No definition available. + Details
Name: | mx_EquityInstrumentsAmountContributedToFairValueOfPlanAssetsAllocationPercentage
Namespace Prefix: | mx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Plan Assets At Fair Value, Allocation Percentage + References No definition available. + Details
Name: | mx_PlanAssetsAtFairValueAllocationPercentage
Namespace Prefix: | mx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant