XML 69 R58.htm IDEA: XBRL DOCUMENT
v3.22.2

Accrued Severance Benefits - Future Benefits Payments to Employees (Detail) $ in Thousands | Jun. 30, 2022 USD ($)
--- | ---
Postemployment Benefits [Abstract] |
Remainder of 2022 | $ 237
2023 | 590
2024 | 864
2025 | 1,409
2026 | 1,973
2027 | 1,635
2028 – 2032 | $ 18,987

X
- Definition Post Employment Benefit Payments Five Fiscal Years Thereafter. + References No definition available. + Details
Name: | mx_PostEmploymentBenefitPaymentsFiveFiscalYearsThereafter
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Post employment benefit payments next twelve months. + References No definition available. + Details
Name: | mx_PostEmploymentBenefitPaymentsNextTwelveMonths
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Post employment benefit payments year two. + References No definition available. + Details
Name: | mx_PostEmploymentBenefitPaymentsYearTwo
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Postemployment benefit payments remainder of fiscal year. + References No definition available. + Details
Name: | mx_PostemploymentBenefitPaymentsRemainderOfFiscalYear
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Postemployment benefit payments year five. + References No definition available. + Details
Name: | mx_PostemploymentBenefitPaymentsYearFive
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Postemployment benefit payments year four. + References No definition available. + Details
Name: | mx_PostemploymentBenefitPaymentsYearFour
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Postemployment benefit payments year three. + References No definition available. + Details
Name: | mx_PostemploymentBenefitPaymentsYearThree
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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