v3.19.3.a.u2
Net Loss per Share (Tables)
12 Months Ended
Dec. 31, 2019
Earnings Per Share [Abstract]  
Schedule of potential dilutive securities that would have been anti-dilutive due to net loss The following securities have been excluded from the calculation of weighted-average shares of common stock outstanding because the effect is anti-dilutive for the years ended December 31, 2019, 2018 and 2017:
 
Year Ended December 31,
 
2019
 
2018
 
2017
Stock options
4,373,895

 
4,057,788

 
4,559,176

Restricted stock units
3,694,915

 
1,139,045

 
1,413,423


Schedule of calculation of basic and diluted net loss per share
Basic and diluted net loss per share is calculated as follows:
 
Year Ended December 31,
 
2019
 
2018
 
2017
Numerator (in thousands):
 

 
 

 
 

Net loss
$
(235,222
)
 
$
(38,330
)
 
$
(29,423
)
Denominator:
 

 
 

 
 

Weighted-average shares of common stock outstanding, basic and diluted
61,393,666

 
55,833,492

 
49,062,611

Net loss per share, basic and diluted
$
(3.83
)
 
$
(0.69
)
 
$
(0.60
)