Quarterly report pursuant to Section 13 or 15(d)

Net Income (Loss) Per Share - Summary of Basic and Diluted Earnings Per Share (Details)

v3.22.2.2
Net Income (Loss) Per Share - Summary of Basic and Diluted Earnings Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Jun. 30, 2022
Mar. 31, 2022
Sep. 30, 2021
Jun. 30, 2021
Mar. 31, 2021
Sep. 30, 2022
Sep. 30, 2021
Numerator:                
Net income $ 28,408 $ 31,966 $ 33,586 $ 9,258 $ 733 $ 3,802 $ 93,960 $ 13,793
Denominator:                
Weighted average common shares outstanding—basic (shares) 78,436     76,582     77,833 75,795
Dilutive common stock equivalents (shares) 1,624     3,233     2,498 3,253
Weighted average common shares outstanding-diluted (shares) 80,060     79,815     80,331 79,048
Net income per share:                
Basic (usd per share) $ 0.36     $ 0.12     $ 1.21 $ 0.18
Diluted (usd per share) $ 0.35     $ 0.12     $ 1.17 $ 0.17