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 9 Months Ended
Sep. 30, 2020
Jun. 30, 2020
Mar. 31, 2020
Sep. 30, 2019
Jun. 30, 2019
Mar. 31, 2019
Sep. 30, 2020
Sep. 30, 2019
Numerator:                
Net income (loss), basic and diluted $ 17,139 $ 29,872 $ (19,595) $ (12,912) $ (13,793) $ (14,250) $ 27,416 $ (40,955)
Denominator:                
Weighted-average shares used to compute basic EPS 36,887,266     22,946,989     29,994,917 22,913,118
Weighted-average shares used to compute diluted EPS 37,877,552     22,946,989     30,349,856 22,913,118
Net income (loss) earnings per share:                
Basic $ 0.46     $ (0.56)     $ 0.91 $ (1.79)
Diluted $ 0.45     $ (0.56)     $ 0.90 $ (1.79)
Stock Options                
Denominator:                
Dilutive effect of share based payment arrangements 828,623           228,557  
Restricted Stock Units                
Denominator:                
Dilutive effect of share based payment arrangements 159,788           120,649  
Warrants to Purchase Common Stock                
Denominator:                
Dilutive effect of share based payment arrangements 1,875           5,733