XML 122 R69.htm IDEA: XBRL DOCUMENT v2.4.1.9
Derivative Financial Instruments - Additional Information (Detail) (USD $)
In Thousands, unless otherwise specified
12 Months Ended 0 Months Ended
Dec. 31, 2014
Contracts
Sep. 30, 2014
Sep. 01, 2014
Derivative [Line Items]      
Number of derivative contracts 0us-gaap_DerivativeNumberOfInstrumentsHeld    
Estimated amount reclassified from accumulated other comprehensive income into earnings, period 12 months    
Estimated amount reclassified from accumulated other comprehensive income into earnings $ 485us-gaap_DerivativeInstrumentsGainLossReclassificationFromAccumulatedOCIToIncomeEstimatedNetAmountToBeTransferred    
UBS AG Seoul Branch [Member]      
Derivative [Line Items]      
Settlement proceeds   430us-gaap_GainLossOnContractTermination
/ invest_InvestmentContractCounterpartyAxis
= mx_UbsagSeoulBranchMember
 
Goldman Sachs International bank [Member]      
Derivative [Line Items]      
Settlement proceeds     $ 1,050us-gaap_GainLossOnContractTermination
/ invest_InvestmentContractCounterpartyAxis
= mx_GoldmanSachsInternationalBankMember