XML 63 R52.htm IDEA: XBRL DOCUMENT
v3.23.1

Derivative Financial Instruments, Impact of Derivative Instruments on Consolidated Statement of Operations (Details) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2023 | Mar. 31, 2022
Derivatives in ASC 815 Cash Flow Hedging Relationships [Abstract] |  |
Location/Amount of Loss Reclassified from AOCI Into Statement of Operations | $ 603 | $ 762
Estimated amount reclassified from accumulated other comprehensive loss into loss | 1,757 |
Cash Flow Hedging [Member] |  |
Derivatives in ASC 815 Cash Flow Hedging Relationships [Abstract] |  |
Amount of Loss Recognized in AOCI on Derivatives | (1,135) | (1,264)
Location/Amount of Loss Reclassified from AOCI Into Statement of Operations | (603) | (762)
Cash Flow Hedging [Member] | Other Income, Net [Member] |  |
Derivatives in ASC 815 Cash Flow Hedging Relationships [Abstract] |  |
Location/Amount of Loss Recognized in Statement of Operations on Derivatives | (54) | (129)
Zero Cost Collars [Member] | Cash Flow Hedging [Member] |  |
Derivatives in ASC 815 Cash Flow Hedging Relationships [Abstract] |  |
Amount of Loss Recognized in AOCI on Derivatives | (1,135) | (1,264)
Location/Amount of Loss Reclassified from AOCI Into Statement of Operations | $ (603) | $ (762)
Derivative Instrument, Gain (Loss) Reclassified from AOCI into Income, Effective Portion, Statement of Income or Comprehensive Income [Extensible Enumeration] | Revenues | Revenues
Zero Cost Collars [Member] | Cash Flow Hedging [Member] | Other Income, Net [Member] |  |
Derivatives in ASC 815 Cash Flow Hedging Relationships [Abstract] |  |
Location/Amount of Loss Recognized in Statement of Operations on Derivatives | $ (54) | $ (129)

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

X
- Definition Indicates line item in statement of income or comprehensive income that includes gain (loss) from effective portion of derivative instrument reclassified from accumulated other comprehensive income (AOCI) into income. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4D -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959 + Details
Name: | us-gaap_DerivativeInstrumentGainLossReclassifiedFromAociIntoIncomeEffectivePortionStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition The estimated value of gains (losses), net anticipated to be transferred in the future from accumulated other comprehensive income into earnings. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 30 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=121549185&loc=d3e80845-113994 + Details
Name: | us-gaap_DerivativeInstrumentsGainLossReclassificationFromAccumulatedOCIToIncomeEstimatedNetAmountToBeTransferred
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The effective portion of net gain (loss) reclassified from accumulated other comprehensive income into income on derivative instruments designated and qualifying as hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4D -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + Details
Name: | us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The portion of gains and losses (net) on derivative instruments designated and qualifying as hedging instruments representing (a) the amount of the hedge ineffectiveness and (b) the amount, if any, excluded from the assessment of hedge effectiveness. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 25 -Section 50 -Paragraph 1 -Subparagraph (a)(1),(2) -URI https://asc.fasb.org/extlink&oid=121577467&loc=d3e76258-113986 + Details
Name: | us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, before tax and adjustments, of gain (loss) from increase (decrease) in value of excluded component of derivative designated and qualifying as hedge. Adjustments include, but are not limited to, reclassifications for sale and settlement, and amounts recognized under systematic and rational method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (dd) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (bb) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4CCC -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL109998896-113959 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 20 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=121577181&loc=SL110061190-113977 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseBeforeAdjustmentsAndTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_OtherNonoperatingIncomeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=mx_ZeroCostCollarsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |