XML 93 R82.htm IDEA: XBRL DOCUMENT v3.21.2
Net Income (Loss) Per Share - Summary of Calculation of Basic and Diluted Net Income (Loss) Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Numerator:        
Net income (loss) $ 68,935 $ 12,947 $ 218,698 $ (84,813)
Denominator:        
Weighted-average common shares outstanding — basic 133,685 125,687 132,036 122,837
Net income (loss) per share — basic $ 0.52 $ 0.10 $ 1.66 $ (0.69)
Common stock equivalents 8,601 10,982 9,557  
Weighted-average common shares outstanding — diluted 142,286 136,669 141,593 122,837
Net income (loss) per share — diluted $ 0.48 $ 0.09 $ 1.54 $ (0.69)