XML 31 R32.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Net Loss per Share Attributable to Common Stock (Tables)
12 Months Ended
Dec. 31, 2019
Earnings Per Share [Abstract]  
Schedule of Basic and Diluted Earnings Per Share
The following table sets forth the calculation of basic and diluted net loss per share attributable to common stock during the periods presented:
 
Year Ended December 31,
 
2019
 
2018
 
2017
Numerator:
 
 
 
 
 
Net loss
$
(80,805
)
 
$
(41,978
)
 
$
(15,002
)
Accretion of preferred stock

 

 
(175,915
)
Net loss attributable to common stock—basic and diluted
$
(80,805
)
 
$
(41,978
)
 
$
(190,917
)
 
 
 
 
 
 
Denominator:
 
 
 
 
 
Weighted average shares —basic and diluted
91,583,533

 
85,669,039

 
42,722,114

Net loss per share attributable to common stock—basic and diluted
$
(0.88
)
 
$
(0.49
)
 
$
(4.47
)

Summary of Antidilutive Securities Excluded from Computation of Earnings Per Share
The following outstanding shares of common stock equivalents were excluded from the computation of the diluted net loss per share attributable to common stock for the periods presented because their effect would have been anti-dilutive. For the year ended December 31, 2017, shares of the redeemable convertible preferred stock were anti-dilutive. However, because the preferred stock converted into common stock on a one-for-one basis on August 2, 2017 upon the completion of our IPO, we included the preferred stock in the weighted average shares outstanding for the year ended December 31, 2017.
 
Year Ended December 31,
 
2019
 
2018
 
2017
Stock options outstanding
7,792,181

 
9,435,349

 
13,180,950

Restricted stock units outstanding
5,023,412

 
3,264,702

 
981,276

Employee stock purchase plan

 

 

Total
12,815,593

 
12,700,051

 
14,162,226