XML 82 R41.htm IDEA: XBRL DOCUMENT v2.4.1.9
Restatement of Consolidated Financial Statements - Schedule of Impact of Restatement Adjustments on Previously Reported Consolidated Statement of Operations (Detail) (USD $)
3 Months Ended
Mar. 31, 2014
Mar. 31, 2013
Net sales $ 164,164,000us-gaap_Revenues $ 194,322,000us-gaap_Revenues
Cost of sales 123,887,000us-gaap_CostOfRevenue 136,087,000us-gaap_CostOfRevenue
Gross profit 40,277,000us-gaap_GrossProfit 58,235,000us-gaap_GrossProfit
Selling, general and administrative expenses 25,027,000us-gaap_SellingGeneralAndAdministrativeExpense 20,808,000us-gaap_SellingGeneralAndAdministrativeExpense
Research and development expenses 23,137,000us-gaap_ResearchAndDevelopmentExpense 21,015,000us-gaap_ResearchAndDevelopmentExpense
Restructuring and impairment charges   2,446,000us-gaap_RestructuringSettlementAndImpairmentProvisions
Operating income (7,887,000)us-gaap_OperatingIncomeLoss 13,966,000us-gaap_OperatingIncomeLoss
Other income (expenses)    
Interest expense, net (4,070,000)us-gaap_InterestIncomeExpenseNonoperatingNet (5,849,000)us-gaap_InterestIncomeExpenseNonoperatingNet
Foreign currency loss, net (9,406,000)us-gaap_ForeignCurrencyTransactionGainLossBeforeTax (23,458,000)us-gaap_ForeignCurrencyTransactionGainLossBeforeTax
Others 561,000us-gaap_OtherNonoperatingIncomeExpense 353,000us-gaap_OtherNonoperatingIncomeExpense
Net other income(expense) (12,915,000)us-gaap_NonoperatingIncomeExpense (28,954,000)us-gaap_NonoperatingIncomeExpense
Loss before income taxes (20,802,000)us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest (14,988,000)us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
Income tax expenses 803,000us-gaap_IncomeTaxExpenseBenefit 2,601,000us-gaap_IncomeTaxExpenseBenefit
Net loss (21,605,000)us-gaap_NetIncomeLoss (17,589,000)us-gaap_NetIncomeLoss
Loss per common share-    
Basic $ (0.63)us-gaap_EarningsPerShareBasic $ (0.49)us-gaap_EarningsPerShareBasic
Diluted $ (0.63)us-gaap_EarningsPerShareDiluted $ (0.49)us-gaap_EarningsPerShareDiluted
Weighted average number of shares-    
Basic 34,052,875us-gaap_WeightedAverageNumberOfSharesOutstandingBasic 35,539,413us-gaap_WeightedAverageNumberOfSharesOutstandingBasic
Diluted 34,052,875us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding 35,539,413us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding
As Previously Reported [Member]    
Net sales   205,298,000us-gaap_Revenues
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Cost of sales   139,555,000us-gaap_CostOfRevenue
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Gross profit   65,743,000us-gaap_GrossProfit
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Selling, general and administrative expenses   19,791,000us-gaap_SellingGeneralAndAdministrativeExpense
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Research and development expenses   20,582,000us-gaap_ResearchAndDevelopmentExpense
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Restructuring and impairment charges   2,446,000us-gaap_RestructuringSettlementAndImpairmentProvisions
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Operating income   22,924,000us-gaap_OperatingIncomeLoss
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Other income (expenses)    
Interest expense, net   (5,849,000)us-gaap_InterestIncomeExpenseNonoperatingNet
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Foreign currency loss, net   (22,558,000)us-gaap_ForeignCurrencyTransactionGainLossBeforeTax
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Others   (260,000)us-gaap_OtherNonoperatingIncomeExpense
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Net other income(expense)   (28,667,000)us-gaap_NonoperatingIncomeExpense
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Loss before income taxes   (5,743,000)us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Income tax expenses   1,662,000us-gaap_IncomeTaxExpenseBenefit
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Net loss   (7,405,000)us-gaap_NetIncomeLoss
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Loss per common share-    
Basic   $ (0.21)us-gaap_EarningsPerShareBasic
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Diluted   $ (0.21)us-gaap_EarningsPerShareDiluted
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Weighted average number of shares-    
Basic   35,539,413us-gaap_WeightedAverageNumberOfSharesOutstandingBasic
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Diluted   35,539,413us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioPreviouslyReportedMember
Adjustments [Member]    
Net sales   (10,976,000)us-gaap_Revenues
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Cost of sales   (3,468,000)us-gaap_CostOfRevenue
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Gross profit   (7,508,000)us-gaap_GrossProfit
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Selling, general and administrative expenses   1,017,000us-gaap_SellingGeneralAndAdministrativeExpense
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Research and development expenses   433,000us-gaap_ResearchAndDevelopmentExpense
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Operating income   (8,958,000)us-gaap_OperatingIncomeLoss
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Other income (expenses)    
Foreign currency loss, net   (900,000)us-gaap_ForeignCurrencyTransactionGainLossBeforeTax
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Others   613,000us-gaap_OtherNonoperatingIncomeExpense
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Net other income(expense)   (287,000)us-gaap_NonoperatingIncomeExpense
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Loss before income taxes   (9,245,000)us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Income tax expenses   939,000us-gaap_IncomeTaxExpenseBenefit
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Net loss   (10,184,000)us-gaap_NetIncomeLoss
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Adjustments [Member] | Revenue Recognition [Member]    
Net sales   (10,416,000)us-gaap_Revenues
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_RevenueRecognitionMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Cost of sales   (8,647,000)us-gaap_CostOfRevenue
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_RevenueRecognitionMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Gross profit   (1,769,000)us-gaap_GrossProfit
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_RevenueRecognitionMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Selling, general and administrative expenses   (89,000)us-gaap_SellingGeneralAndAdministrativeExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_RevenueRecognitionMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Operating income   (1,680,000)us-gaap_OperatingIncomeLoss
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_RevenueRecognitionMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Other income (expenses)    
Foreign currency loss, net   (907,000)us-gaap_ForeignCurrencyTransactionGainLossBeforeTax
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_RevenueRecognitionMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Others   53,000us-gaap_OtherNonoperatingIncomeExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_RevenueRecognitionMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Net other income(expense)   (854,000)us-gaap_NonoperatingIncomeExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_RevenueRecognitionMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Loss before income taxes   (2,534,000)us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_RevenueRecognitionMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Net loss   (2,534,000)us-gaap_NetIncomeLoss
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_RevenueRecognitionMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Adjustments [Member] | Inventory Reserves [Member]    
Cost of sales   3,860,000us-gaap_CostOfRevenue
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_InventoryReservesMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Gross profit   (3,860,000)us-gaap_GrossProfit
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_InventoryReservesMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Operating income   (3,860,000)us-gaap_OperatingIncomeLoss
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_InventoryReservesMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Other income (expenses)    
Loss before income taxes   (3,860,000)us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_InventoryReservesMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Net loss   (3,860,000)us-gaap_NetIncomeLoss
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_InventoryReservesMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Adjustments [Member] | Understated Employee Benefits [Member]    
Cost of sales   132,000us-gaap_CostOfRevenue
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_UnderstatedEmployeeBenefitsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Gross profit   (132,000)us-gaap_GrossProfit
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_UnderstatedEmployeeBenefitsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Selling, general and administrative expenses   19,000us-gaap_SellingGeneralAndAdministrativeExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_UnderstatedEmployeeBenefitsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Research and development expenses   51,000us-gaap_ResearchAndDevelopmentExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_UnderstatedEmployeeBenefitsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Operating income   (202,000)us-gaap_OperatingIncomeLoss
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_UnderstatedEmployeeBenefitsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Other income (expenses)    
Loss before income taxes   (202,000)us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_UnderstatedEmployeeBenefitsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Net loss   (202,000)us-gaap_NetIncomeLoss
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_UnderstatedEmployeeBenefitsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Adjustments [Member] | Tax Matters [Member]    
Selling, general and administrative expenses   180,000us-gaap_SellingGeneralAndAdministrativeExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_IncomeTaxMattersMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Operating income   (180,000)us-gaap_OperatingIncomeLoss
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_IncomeTaxMattersMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Other income (expenses)    
Loss before income taxes   (180,000)us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_IncomeTaxMattersMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Income tax expenses   939,000us-gaap_IncomeTaxExpenseBenefit
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_IncomeTaxMattersMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Net loss   (1,119,000)us-gaap_NetIncomeLoss
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_IncomeTaxMattersMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Adjustments [Member] | Maintenance Costs [Member]    
Cost of sales   2,432,000us-gaap_CostOfRevenue
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_CapitalizationOfMaintenanceCostsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Gross profit   (2,432,000)us-gaap_GrossProfit
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_CapitalizationOfMaintenanceCostsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Research and development expenses   55,000us-gaap_ResearchAndDevelopmentExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_CapitalizationOfMaintenanceCostsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Operating income   (2,487,000)us-gaap_OperatingIncomeLoss
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_CapitalizationOfMaintenanceCostsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Other income (expenses)    
Loss before income taxes   (2,487,000)us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_CapitalizationOfMaintenanceCostsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Net loss   (2,487,000)us-gaap_NetIncomeLoss
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_CapitalizationOfMaintenanceCostsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Adjustments [Member] | Cost Center Allocation [Member]    
Cost of sales   (844,000)us-gaap_CostOfRevenue
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_CostAllocationMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Gross profit   844,000us-gaap_GrossProfit
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_CostAllocationMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Selling, general and administrative expenses   860,000us-gaap_SellingGeneralAndAdministrativeExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_CostAllocationMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Research and development expenses   (16,000)us-gaap_ResearchAndDevelopmentExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_CostAllocationMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Adjustments [Member] | Account Classification [Member]    
Net sales   (560,000)us-gaap_Revenues
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_AccountClassificationMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Cost of sales   (404,000)us-gaap_CostOfRevenue
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_AccountClassificationMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Gross profit   (156,000)us-gaap_GrossProfit
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_AccountClassificationMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Research and development expenses   404,000us-gaap_ResearchAndDevelopmentExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_AccountClassificationMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Operating income   (560,000)us-gaap_OperatingIncomeLoss
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_AccountClassificationMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Other income (expenses)    
Others   560,000us-gaap_OtherNonoperatingIncomeExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_AccountClassificationMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Net other income(expense)   560,000us-gaap_NonoperatingIncomeExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_AccountClassificationMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Adjustments [Member] | Other Adjustments [Member]    
Cost of sales   3,000us-gaap_CostOfRevenue
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_OtherAdjustmentsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Gross profit   (3,000)us-gaap_GrossProfit
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_OtherAdjustmentsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Selling, general and administrative expenses   47,000us-gaap_SellingGeneralAndAdministrativeExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_OtherAdjustmentsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Research and development expenses   (61,000)us-gaap_ResearchAndDevelopmentExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_OtherAdjustmentsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Operating income   11,000us-gaap_OperatingIncomeLoss
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_OtherAdjustmentsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Other income (expenses)    
Foreign currency loss, net   7,000us-gaap_ForeignCurrencyTransactionGainLossBeforeTax
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_OtherAdjustmentsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Net other income(expense)   7,000us-gaap_NonoperatingIncomeExpense
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_OtherAdjustmentsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Loss before income taxes   18,000us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_OtherAdjustmentsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember
Net loss   $ 18,000us-gaap_NetIncomeLoss
/ us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis
= mx_OtherAdjustmentsMember
/ us-gaap_StatementScenarioAxis
= us-gaap_RestatementAdjustmentMember