XML 33 R23.htm IDEA: XBRL DOCUMENT v3.21.2
NET INCOME (LOSS) PER SHARE
9 Months Ended
Sep. 30, 2021
Earnings Per Share [Abstract]  
NET INCOME (LOSS) PER SHARE NET INCOME (LOSS) PER SHAREBasic net income (loss) per share is computed by dividing the net income (loss) by the weighted-average number of shares of common stock outstanding during the period. Diluted net income per share is computed by dividing net income by the weighted-average number of shares of common stock outstanding adjusted for the dilutive effect of all potential shares of common stock. In periods when the Company reported a net loss, diluted net loss per share is the same as basic net loss per share because the effects of potentially dilutive items were anti-dilutive.
The following table presents the calculation of basic and diluted net income (loss) per share (in thousands, except per share data):
Three Months Ended
September 30,
Nine Months Ended
September 30,
2021202020212020
Numerator:
Net income (loss)$(2,876)$36,515 $239,810 $(80,854)
Net income (loss) attributable to noncontrolling interests(2,960)— (3,303)— 
Net income (loss) attributable to common stockholders$84 $36,515 $243,113 $(80,854)
Denominator:
Basic shares:
Weighted-average common shares outstanding460,948 445,074457,414 440,540
Weighted-average unvested shares(294)(616)(375)(685)
Weighted-average shares used to compute basic net income per share:460,654 444,458 457,039 439,855 
Diluted shares:
Stock options, restricted stock, and employee stock purchase plan17,180 26,166 18,991 — 
Convertible senior notes— — 18,727 — 
Common stock warrants26,286 17,445 25,447 — 
Weighted-average shares used to compute diluted net income per share:504,120 488,069 520,204 439,855 
Net income (loss) per share attributable to common stockholders:
Basic$0.00 $0.08 $0.53 $(0.18)
Diluted$0.00 $0.07 $0.48 $(0.18)


The following potential common shares were excluded from the calculation of diluted net income (loss) per share because their effect would have been anti-dilutive for the periods presented (in thousands):
Three Months Ended
September 30,
Nine Months Ended
September 30,
2021202020212020
Stock options, restricted stock, and employee stock purchase plan7,652 10,309 7,161 37,445 
Common stock warrants16,075 21,071 16,914 36,556 
Convertible senior notes20,884 26,738 3,845 25,532 
Total anti-dilutive securities44,611 58,118 27,920 99,533