XML 81 R61.htm IDEA: XBRL DOCUMENT v3.8.0.1
NET INCOME (LOSS) PER SHARE (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Numerator:                      
Net income (loss) $ 4,595 $ (7,597) $ (19,743) $ (19,866) $ (3,973) $ (22,164) $ (7,958) $ (3,854) $ (42,611) $ (37,949) $ 1,856
Weighted average common shares outstanding—basic (in shares)                 39,806 37,236 36,540
Dilutive effect of stock options (in shares)                 0 0 1,638
Dilutive effect of RSUs (in shares)                 0 0 3
Dilutive effect of conversion premium on the 2019 Notes (in shares)                 0 0 3,113
Dilutive effect of warrants (in shares)                 0 0 6
Dilutive effect of ESPP purchase options (in shares)                 0 0 1
Weighted average common shares outstanding—diluted (in shares)                 39,806 37,236 41,301
Basic net income (loss) per common share (in dollars per share)                 $ (1.07) $ (1.02) $ 0.05
Diluted net income (loss) per common share (in dollars per share)                 $ (1.07) $ (1.02) $ 0.04