XML 82 R62.htm IDEA: XBRL DOCUMENT v3.8.0.1
NET INCOME (LOSS) PER SHARE (Details 2) - shares
shares in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potential dilutive effect of securities (in shares) 6,060 6,816 1,998
Stock options      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potential dilutive effect of securities (in shares) 5,171 4,482 1,891
Restricted Stock Units (RSUs) [Member]      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potential dilutive effect of securities (in shares) 449 290 99
Convertible debt      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potential dilutive effect of securities (in shares) 411 2,022 0
Warrants      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potential dilutive effect of securities (in shares) 0 1 0
ESPP purchase options      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potential dilutive effect of securities (in shares) 29 21 8