XML 57 R48.htm IDEA: XBRL DOCUMENT
v3.25.3

Inventories - Changes in Inventory Reserve (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2025 | Sep. 30, 2024 | Sep. 30, 2025 | Sep. 30, 2024
Changes In Inventory Reserve [Abstract] |  |  |  |
Beginning balance | $ (8,495) | $ (8,541) | $ (7,732) | $ (10,599)
Change in reserve |  |  |  |
Inventory reserve charged to costs of sales | (1,637) | (1,273) | (5,293) | (4,234)
Sale of previously reserved inventory | 554 | 1,835 | 3,400 | 5,962
Change in reserve | (1,083) | 562 | (1,893) | 1,728
Write off | 2,736 | 63 | 3,471 | 390
Translation adjustments | 269 | (441) | (419) | 124
Ending balance | $ (6,573) | $ (8,357) | $ (6,573) | $ (8,357)

X
- Definition Changes in inventory reserve. + References No definition available. + Details
Name: | mx_ChangesInInventoryReserveAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Inventory reserve charged to costs of sales. + References No definition available. + Details
Name: | mx_InventoryReserveChargedToCostsOfSales
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Inventory valuation reserves changes. + References No definition available. + Details
Name: | mx_InventoryValuationReservesChanges
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Inventory valuation reserves changes. + References No definition available. + Details
Name: | mx_InventoryValuationReservesChangesAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Inventory valuation reserves foreign currency translation adjustments. + References No definition available. + Details
Name: | mx_InventoryValuationReservesForeignCurrencyTranslationAdjustments
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Sale of previously reserved inventory. + References No definition available. + Details
Name: | mx_SaleOfPreviouslyReservedInventory
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of valuation reserve for inventory. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 330 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.BB) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480581/330-10-S99-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_InventoryValuationReserves
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of loss from reductions in inventory due to subsequent measurement adjustments, including, but not limited to, physical deterioration, obsolescence, or changes in price levels. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 330 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483080/330-10-50-2 + Details
Name: | us-gaap_InventoryWriteDown
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration