XML 68 R59.htm IDEA: XBRL DOCUMENT
v3.25.3

Accrued Expenses - Additional Information (Detail) - USD ($) $ in Thousands | Sep. 30, 2025 | Dec. 31, 2024
--- | --- | ---
Other Accrued Liabilities [Line Items] |  |
Accrued expenses | $ 12,019 | $ 8,648
Voluntary Resignation Program [Member] | Employee Related Benefits [Member] |  |
Other Accrued Liabilities [Line Items] |  |
Accrued expenses | $ 2,599 |

X
- Definition Other Accrued Liabilities [Line Items] + References No definition available. + Details
Name: | mx_OtherAccruedLiabilitiesLineItems
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(20)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_AccruedLiabilitiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=mx_VoluntaryResignationProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=mx_EmployeeRelatedBenefitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |