XML 78 R62.htm IDEA: XBRL DOCUMENT v3.22.0.1
Net Income (Loss) per Share - Computation of Basic and Diluted Net Income (Loss) Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Numerator:      
Net income (loss) $ 52,830 $ (122,858) $ (84,710)
Denominator:      
Weighted-average common shares outstanding 70,328,234 56,354,059 45,385,489
Less: weighted-average common shares subject to vesting (982,744) (1,566,941) (1,559,498)
Weighted-average common shares used to compute basic net income (loss) per share 69,345,490 54,787,118 43,825,991
Weighted-average common shares used to compute diluted net income (loss) per share 73,966,267 54,787,118 43,825,991
Net income (loss) per share, basic $ 0.76 $ (2.24) $ (1.93)
Net income (loss) per share, diluted $ 0.71 $ (2.24) $ (1.93)
Stock Options      
Denominator:      
Dilutive Effect of Share-based awards 4,054,142    
Restricted Stock Units      
Denominator:      
Dilutive Effect of Share-based awards 566,635