XML 25 R12.htm IDEA: XBRL DOCUMENT v3.22.4
Net Income (Loss) Per Share
12 Months Ended
Dec. 31, 2022
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share Net Income (Loss) Per Share
The following table sets forth the computation of basic and diluted net income (loss) per share (in thousands, except per share amounts):
Years Ended December 31,
202220212020
Basic
Numerator:
Net income (loss)$266,638 $(1,458)$(6,221)
Denominator:
Weighted average shares used to compute net income (loss) per share, basic
127,557 141,262 125,367 
Net income (loss) per share, basic
$2.09 $(0.01)$(0.05)
Diluted
Numerator:
Net income (loss)$266,638 $(1,458)$(6,221)
Convertible senior notes activity, net of tax(1)
(65,444)— — 
Net income (loss), diluted
$201,194 $(1,458)$(6,221)
Denominator:
Weighted average shares used to compute net income (loss) per share, basic
127,557 141,262 125,367 
Shares related to stock plan activity968 — — 
Shares related to convertible senior notes21,334 — — 
Weighted average shares used to compute net income (loss) per share, diluted
149,859 141,262 125,367 
Net income (loss) per share, diluted
$1.34 $(0.01)$(0.05)
(1) Primarily includes the gain on early extinguishment on our 2026 notes, net of tax. For further information, see Note 11, “Convertible Senior Notes.”

The following potential weighted-average shares of common stock outstanding were excluded from the computation of diluted net income (loss) per share because including them would have been anti-dilutive (in thousands):
Years Ended December 31,
202220212020
Shares related to stock plan activity3,556 2,545 4,470 
Shares related to convertible senior notes— 23,300 4,942 
Total common stock equivalents3,556 25,845 9,412