XML 78 R69.htm IDEA: XBRL DOCUMENT
v3.25.3

Accrued Severance Benefits - Additional Information (Detail) | 9 Months Ended
--- | ---
Sep. 30, 2025
Percentage of employees eligible for severance benefits | 97.00%
Retirement age of employees | 60 years
Korea [Member] | Minimum [Member] |
Korea's mandatory retirement age | 60 years

X
- Definition Employees eligible for severance benefits percentage. + References No definition available. + Details
Name: | mx_EmployeesEligibleForSeveranceBenefitsPercentage
Namespace Prefix: | mx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Korea's mandatory retirement age. + References No definition available. + Details
Name: | mx_KoreasMandatoryRetirementAge
Namespace Prefix: | mx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Retirement age of employees. + References No definition available. + Details
Name: | mx_RetirementAgeOfEmployees
Namespace Prefix: | mx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_StatementGeographicalAxis=country_KR
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |