XML 20 R10.htm IDEA: XBRL DOCUMENT v3.22.2
Net Income (Loss) Per Share
6 Months Ended
Jun. 30, 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):
Three Months Ended
June 30,
Six Months Ended
June 30,
2022202120222021
Basic
Numerator:
Net income (loss)
$7,476 $32,764 $13,218 $(32,415)
Denominator:
Weighted average shares used to compute net income (loss) per share, basic
126,272 143,112 129,201 138,756 
Net income (loss) per share, basic
$0.06 $0.23 $0.10 $(0.23)
Diluted
Numerator:
Net income (loss)$7,476 $32,764 $13,218 $(32,415)
Convertible senior notes interest expense, net of tax1,212 1,212 — — 
Net income (loss), diluted
$8,688 $33,976 $13,218 $(32,415)
Denominator:
Weighted average shares used to compute net income (loss) per share, basic
126,272 143,112 129,201 138,756 
Shares related to stock plan activity427 2,295 733 — 
Shares related to convertible senior notes22,875 22,875 — — 
Weighted average shares used to compute net income (loss) per share, diluted
149,574 168,282 129,934 138,756 
Net income (loss) per share, diluted
$0.06 $0.20 $0.10 $(0.23)

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):
Three Months Ended
June 30,
Six Months Ended
June 30,
2022202120222021
Shares related to stock plan activity8,041 1,142 3,645 2,999 
Shares related to convertible senior notes— 268 22,875 25,901 
Total common stock equivalents8,041 1,410 26,520 28,900