Annual and transition report of foreign private issuers pursuant to Section 13 or 15(d)

Computation of net income (loss) per share (Schedule of Calculation of Basic and Diluted Net Income Per Share) (Details)

v2.4.1.9
Computation of net income (loss) per share (Schedule of Calculation of Basic and Diluted Net Income Per Share) (Details) (USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Numerator:      
Net income (loss) - numerator for basic net income (loss) per share $ (119,420)us-gaap_NetIncomeLoss $ (26,954)us-gaap_NetIncomeLoss $ 8,491us-gaap_NetIncomeLoss
Dilutive effect of earn-out obligation    (1,683)us-gaap_OtherPreferredStockDividendsAndAdjustments   
Numerator for diluted income (loss) per share $ (119,420)us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic $ (28,637)us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic $ 8,491us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic
Denominator:      
Weighted average shares - denominator for basic net income (loss) per share 50,019us-gaap_WeightedAverageNumberOfSharesOutstandingBasic 42,079us-gaap_WeightedAverageNumberOfSharesOutstandingBasic 22,812us-gaap_WeightedAverageNumberOfSharesOutstandingBasic
Dilutive effect of earn-out obligation    20us-gaap_IncrementalCommonSharesAttributableToAcceleratedShareRepurchaseAgreements   
Additional shares from the assumed exercise of employee stock options       964us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements
Denominator for diluted income (loss) per share 50,019us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding 42,099us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding 23,776us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding
Net income (loss) per share      
Basic $ (2.39)us-gaap_EarningsPerShareBasic $ (0.64)us-gaap_EarningsPerShareBasic $ 0.37us-gaap_EarningsPerShareBasic
Diluted $ (2.39)us-gaap_EarningsPerShareDiluted $ (0.68)us-gaap_EarningsPerShareDiluted $ 0.36us-gaap_EarningsPerShareDiluted