XML 97 R87.htm IDEA: XBRL DOCUMENT v3.21.2
NET INCOME (LOSS) PER SHARE - 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
Jun. 30, 2021
Mar. 31, 2021
Sep. 30, 2020
Jun. 30, 2020
Mar. 31, 2020
Sep. 30, 2021
Sep. 30, 2020
Numerator:                
Net income (loss) $ (2,876) $ 203,678 $ 39,008 $ 36,515 $ (11,478) $ (105,891) $ 239,810 $ (80,854)
Net income (loss) attributable to noncontrolling interests (2,960)     0     (3,303) 0
Net income (loss) attributable to common stockholders, basic 84     36,515     243,113 (80,854)
Net income (loss) attributable to common stockholders, diluted $ 84     $ 36,515     $ 243,113 $ (80,854)
Basic shares:                
Weighted-average common shares outstanding (in shares) 460,948     445,074     457,414 440,540
Weighted-average unvested shares (in shares) (294)     (616)     (375) (685)
Weighted-average shares used to compute basic net income per share (in shares) 460,654     444,458     457,039 439,855
Diluted shares:                
Stock options, restricted stock, and employee stock purchase plan (in shares) 17,180     26,166     18,991 0
Convertible senior notes (in shares) 0     0     18,727 0
Common stock warrants (in shares) 26,286     17,445     25,447 0
Weighted-average shares used to compute diluted net income per share (in shares) 504,120     488,069     520,204 439,855
Net income (loss) per share attributable to common stockholders:                
Basic (in USD per share) $ 0.00     $ 0.08     $ 0.53 $ (0.18)
Diluted (in USD per share) $ 0.00     $ 0.07     $ 0.48 $ (0.18)