Quarterly report pursuant to Section 13 or 15(d)

Net Income (Loss) Per Share - Calculation of net loss per share (Details)

v3.7.0.1
Net Income (Loss) Per Share - Calculation of net loss per share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Numerator (both basic and diluted)        
Net income (loss) relevant to common stockholders $ 4,921 $ (9,294) $ (19,431) $ (22,231)
Denominator        
Denominator for basic earnings (loss) per share (in shares) 83,040 39,496 69,593 37,244
Denominator for diluted income (loss) per share (in shares) 86,279 39,496 69,593 37,244
Basic income (loss) per common share (in dollars per share) $ 0.06 $ (0.24) $ (0.28) $ (0.60)
Diluted income (loss) per common share (in dollars per share) $ 0.06 $ (0.24) $ (0.28) $ (0.60)
Stock options        
Denominator        
Dilutive effect of share based payment (in shares) 2,867 0 0 0
Performance stock units        
Denominator        
Dilutive effect of share based payment (in shares) 0 0 0 0
Restricted Stock Units (RSUs)        
Denominator        
Dilutive effect of share based payment (in shares) 372 0 0 0