XML 46 R35.htm IDEA: XBRL DOCUMENT
v3.22.2

Accumulated Other Comprehensive Loss (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2022
Equity [Abstract] |
Schedule of Accumulated Other Comprehensive Loss | Accumulated other comprehensive loss consists of the following as of June 30, 2022 and December 31, 2021, respectively (in thousands):
|  | June 30, 2022 |  |  | December 31, 2021 |
Foreign currency translation adjustments |  | $ | (10,677 | ) |  | $ | (770 | )
Derivative adjustments |  |  | (6,643 | ) |  |  | (1,460 | )
Total |  | $ | (17,320 | ) |  | $ | (2,230 | )
Changes in Accumulated Other Comprehensive Loss | Changes in accumulated other comprehensive loss for the three months ended June 30, 2022 and 2021 are as follows (in thousands):
Three Months Ended June 30, 2022 |  | Foreign currency translation adjustments |  |  | Derivative adjustments |  |  | Total |
Beginning balance |  | $ | (3,815 | ) |  | $ | (1,962 | ) |  | $ | (5,777 | )
Other comprehensive income before reclassifications |  |  | (6,862 | ) |  |  | (6,477 | ) |  |  | (13,339 | )
Amounts reclassified from accumulated other comprehensive loss |  |  | — |  |  |  | 1,796 |  |  |  | 1,796 |
Net current-period other comprehensive loss |  |  | (6,862 | ) |  |  | (4,681 | ) |  |  | (11,543 | )
Ending balance |  | $ | (10,677 | ) |  | $ | (6,643 | ) |  | $ | (17,320 | )
Three Months Ended June 30, 2021 |  | Foreign currency translation adjustments |  |  | Derivative adjustments |  |  | Total |
Beginning balance |  | $ | 11 |  |  | $ | (1,002 | ) |  | $ | (991 | )
Other comprehensive income before reclassifications |  |  | 109 |  |  |  | 432 |  |  |  | 541 |
Amounts reclassified from accumulated other comprehensive income |  |  | — |  |  |  | (475 | ) |  |  | (475 | )
Net current-period other comprehensive income (loss) |  |  | 109 |  |  |  | (43 | ) |  |  | 66 |
Ending balance |  | $ | 120 |  |  | $ | (1,045 | ) |  | $ | (925 | )
Changes in accumulated other comprehensive income (loss) for the six months ended June 30, 2022 and 2021 are as follows (in thousands):
Six Months Ended June 30, 2022 |  | Foreign currency translation adjustments |  |  | Derivative adjustments |  |  | Total |
Beginning balance |  | $ | (770 | ) |  | $ | (1,460 | ) |  | $ | (2,230 | )
Other comprehensive loss before reclassifications |  |  | (9,907 | ) |  |  | (7,741 | ) |  |  | (17,648 | )
Amounts reclassified from accumulated other comprehensive loss |  |  | — |  |  |  | 2,558 |  |  |  | 2,558 |
Net current-period other comprehensive loss |  |  | (9,907 | ) |  |  | (5,183 | ) |  |  | (15,090 | )
Ending balance |  | $ | (10,677 | ) |  | $ | (6,643 | ) |  | $ | (17,320 | )
Six Months Ended June 30, 2021 |  | Foreign currency translation adjustments |  |  | Derivative adjustments |  |  | Total |
Beginning balance |  | $ | 2,069 |  |  | $ | 1,634 |  |  | $ | 3,703 |
Other comprehensive loss before reclassifications |  |  | (1,949 | ) |  |  | (1,693 | ) |  |  | (3,642 | )
Amounts reclassified from accumulated other comprehensive income |  |  | — |  |  |  | (986 | ) |  |  | (986 | )
Net current-period other comprehensive loss |  |  | (1,949 | ) |  |  | (2,679 | ) |  |  | (4,628 | )
Ending balance |  | $ | 120 |  |  | $ | (1,045 | ) |  | $ | (925 | )

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