XML 95 R82.htm IDEA: XBRL DOCUMENT v3.21.2
Net Income (Loss) Per Share - Summary of Calculation of Basic and Diluted Net Loss Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Numerator:        
Net income (loss) $ 73,467 $ (43,148) $ 149,763 $ (97,760)
Denominator:        
Weighted-average common shares outstanding — basic 132,705 122,614 131,198 121,397
Net income (loss) per share — basic $ 0.55 $ (0.35) $ 1.14 $ (0.81)
Common stock equivalents 9,417   10,036  
Weighted-average common shares outstanding — diluted 142,122 122,614 141,234 121,397
Net income (loss) per share — diluted $ 0.52 $ (0.35) $ 1.06 $ (0.81)