XML 68 R54.htm IDEA: XBRL DOCUMENT v3.10.0.1
EARNINGS PER SHARE - Antidilutive securities (Details) - shares
shares in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 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,199
Redeemable convertible preferred stock | Series G Stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 346
Redeemable convertible preferred stock | Series G’ Stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 1,296
Common stock options    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 2,232 2,342
Common stock warrants    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 868 1,245
Common stock warrants | Series G’ Stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 751 628
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,232 0
Restricted securities units    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 0 37
Common stock issuable pursuant to the ESPP    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 95 0