Quarterly report pursuant to Section 13 or 15(d)

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

v3.21.2
Net (Loss) Income Per Share - Summary of Computation of Company's Basic and Diluted Net (Loss) Income per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2021
Mar. 31, 2021
Jun. 30, 2020
Mar. 31, 2020
Jun. 30, 2021
Jun. 30, 2020
Numerator:            
Net (loss) income, basic and diluted $ (6,152) $ (30,359) $ 29,872 $ (19,595) $ (36,511) $ 10,277
Denominator:            
Weighted-average shares used in computing basic net (loss) income per share 46,116,175   29,900,913   46,007,892 26,510,873
Weighted-average shares used to compute diluted EPS 46,116,175   31,777,960   46,007,892 28,538,279
Net (loss) income per share:            
Basic $ (0.13)   $ 1.00   $ (0.79) $ 0.39
Diluted $ (0.13)   $ 0.94   $ (0.79) $ 0.36
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