XML 64 R53.htm IDEA: XBRL DOCUMENT v3.8.0.1
EARNINGS PER SHARE (Details) - shares
shares in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Redeemable convertible preferred stock | Series A-R Stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 1,857
Redeemable convertible preferred stock | Series B-R Stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 2,247
Redeemable convertible preferred stock | Series C-R Stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 1,508
Redeemable convertible preferred stock | Series D-R Stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 1,396
Redeemable convertible preferred stock | Series E-R Stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 795
Redeemable convertible preferred stock | Series F-R Stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 1,198
Redeemable convertible preferred stock | Series G Stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 0
Redeemable convertible preferred stock | Series G’ Stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 0
Common stock options    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 2,379 2,170
Common Stock Warrants    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 927 1,227
Common Stock Warrants | Series G’ Stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 1,286 0
Redeemable convertible preferred stock warrants    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 110
Restricted stock units    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 1,208 0
Restricted securities units    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 47
Convertible promissory notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 2,432
Common stock issuable pursuant to the ESPP    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 36 0