v3.24.2.u1
Earnings Per Share (Tables)
6 Months Ended
Jun. 30, 2024
Earnings Per Share [Abstract]  
Schedule of Computation of Basic and Diluted Net Loss Per Share
The following table sets forth the computation of basic and diluted net income (loss) per share (in thousands, except per share data):
Three Months Ended June 30,Six Months Ended June 30,
2024202320242023
Net income (loss) $1,063 $(2,921)$(3,427)$(15,607)
Weighted-average shares used in computing earnings per share, basic96,142 99,995 95,557 99,748 
Weighted-average shares used in computing earnings per share, diluted96,290 99,995 95,557 99,748 
Net income (loss) per share, basic and diluted$0.01 $(0.03)$(0.04)$(0.16)
Schedule of Potentially Dilutive Securities Excluded from the Computation of Diluted Net Loss Per Share
The following outstanding shares of potentially dilutive securities were excluded from the computation of diluted net income (loss) per share because including them would have had an anti-dilutive effect (in thousands):
June 30, 2024June 30, 2023
Shares related to Convertible Notes19,538 19,538 
Stock options to purchase common stock11,639 12,675 
Restricted stock units 15,557 13,566 
ESPP182 136 
Total shares of potentially dilutive securities46,916 45,915