v3.10.0.1
Net Loss per Share (Tables)
9 Months Ended
Sep. 30, 2018
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 three and nine months ended September 30, 2018 and 2017:
 
Three and Nine Months Ended
September 30,
 
2018
 
2017
Stock options
4,097,480

 
4,912,509

Restricted stock units
1,217,161

 
1,435,180

Schedule of calculation of basic and diluted net loss per share
Basic and diluted net loss per share is calculated as follows: 
 
Three Months Ended
September 30,
 
Nine Months Ended
September 30,
 
2018
 
2017
 
2018
 
2017
Numerator (in thousands):
 

 
 

 
 

 
 

Net loss
$
(9,944
)
 
$
(14,739
)
 
$
(43,162
)
 
$
(29,932
)
Denominator:
 

 
 

 
 

 
 

Weighted-average shares of common stock outstanding, basic and diluted
57,663,361

 
48,961,914

 
55,128,845

 
47,962,201

Net loss per share, basic and diluted
$
(0.17
)
 
$
(0.30
)
 
$
(0.78
)
 
$
(0.62
)