XML 65 R51.htm IDEA: XBRL DOCUMENT v3.8.0.1
Net Loss Per Share Attributable to Common Stockholders - Schedule of Antidilutive Securities Excluded from Computation of Diluted Net Loss Per Share (Details) - 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]      
Antidilutive securities excluded from computation of diluted net loss per share 11,228 24,600 27,567
Employee Stock Purchase Plan Shares      
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of diluted net loss per share 191 29  
Options to Purchase Common Shares      
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of diluted net loss per share 9,611 10,969 9,294
Restricted Stock Units      
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of diluted net loss per share 1,415 41  
Common Stock Warrant      
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of diluted net loss per share 11 36 6
Preferred Stock Warrant (as converted)      
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of diluted net loss per share   20 27
Convertible Preferred Shares (as converted)      
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of diluted net loss per share   13,505 18,240