XML 48 R37.htm IDEA: XBRL DOCUMENT
v3.23.1

Accumulated Other Comprehensive Loss (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2023
Accumulated Other Comprehensive Loss [Abstract] |
Schedule of Accumulated Other Comprehensive Loss | Accumulated other comprehensive loss consists of the following as of March 31, 2023 and December 31, 2022, respectively (in thousands):
|  | March 31, 2023 |  |  | December 31, 2022 |
Foreign currency translation adjustments |  | $ | (13,236 | ) |  | $ | (11,328 | )
Derivative adjustments |  |  | (1,757 | ) |  |  | (1,225 | )
Total |  | $ | (14,993 | ) |  | $ | (12,553 | )
Changes in Accumulated Other Comprehensive Loss | Changes in accumulated other comprehensive loss for the three months ended March 31, 2023 and 2022 are as follows (in thousands):
Three Months Ended March 31, 2023 |  | Foreign currency translation adjustments |  |  | Derivative adjustments |  |  | Total |
Beginning balance |  | $ | (11,328 | ) |  | $ | (1,225 | ) |  | $ | (12,553 | )
Other comprehensive loss before reclassifications |  |  | (1,908 | ) |  |  | (1,135 | ) |  |  | (3,043 | )
Amounts reclassified from accumulated other comprehensive loss |  |  | — |  |  |  | 603 |  |  |  | 603 |
Net current-period other comprehensive loss |  |  | (1,908 | ) |  |  | (532 | ) |  |  | (2,440 | )
Ending balance |  | $ | (13,236 | ) |  | $ | (1,757 | ) |  | $ | (14,993 | )
Three Months Ended March 31, 2022 |  | Foreign currency translation adjustments |  |  | Derivative adjustments |  |  | Total |
Beginning balance |  | $ | (770 | ) |  | $ | (1,460 | ) |  | $ | (2,230 | )
Other comprehensive loss before reclassifications |  |  | (3,045 | ) |  |  | (1,264 | ) |  |  | (4,309 | )
Amounts reclassified from accumulated other comprehensive loss |  |  | — |  |  |  | 762 |  |  |  | 762 |
Net current-period other comprehensive loss |  |  | (3,045 | ) |  |  | (502 | ) |  |  | (3,547 | )
Ending balance |  | $ | (3,815 | ) |  | $ | (1,962 | ) |  | $ | (5,777 | )

X
- Definition Tabular disclosure of the components of accumulated other comprehensive income (loss). + References No definition available. + Details
Name: | mx_ScheduleOfComponentsOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock
Namespace Prefix: | mx_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of the components of accumulated other comprehensive income (loss). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 20 -URI https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900 + Details
Name: | us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration