Quarterly report pursuant to Section 13 or 15(d)

Net Income (Loss) Per Share - Summary of Computation of Company's Basic and Diluted Net Loss per Share (Details)

v3.20.2
Net Income (Loss) Per Share - Summary of Computation of Company's Basic and Diluted Net Loss per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2020
Mar. 31, 2020
Jun. 30, 2019
Mar. 31, 2019
Jun. 30, 2020
Jun. 30, 2019
Numerator:            
Net income (loss), basic and diluted $ 29,872 $ (19,595) $ (13,793) $ (14,250) $ 10,277 $ (28,043)
Denominator:            
Weighted-average shares used to compute basic EPS 29,900,913   22,926,390   26,510,873 22,895,902
Weighted-average shares used to compute diluted EPS 31,777,960   22,926,390   28,538,279 22,895,902
Net income (loss) earnings per share:            
Basic [1] $ 1.00   $ (0.60)   $ 0.39 $ (1.22)
Diluted [1] $ 0.94   $ (0.60)   $ 0.36 $ (1.22)
Stock Options            
Denominator:            
Dilutive effect of share based payment arrangements 1,020,799       1,124,799  
Restricted Stock Units            
Denominator:            
Dilutive effect of share based payment arrangements 774,991       774,991  
Warrants to Purchase Common Stock            
Denominator:            
Dilutive effect of share based payment arrangements 81,257       127,616  
[1] See Notes 2 and 10 for an explanation of the calculations of our basic and diluted net income (loss) per share, basic and diluted and the weighted-average number of shares used in the computation of the per share amounts.