v3.24.2.u1
Net Income (Loss) Per Share
6 Months Ended
Jun. 30, 2024
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share Net Income (Loss) Per Share
The Company has two classes of common stock, Class A and Class B. Basic and diluted earnings per share (“EPS”) attributable to common stockholders for Class A and Class B common stock were the same because they were entitled to the same liquidation and dividend rights.
The following table sets forth the computation of the Company’s 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
Numerator:
Net income (loss)$1,971 $(5,724)$(483)$(11,595)
Denominator:
Weighted average shares outstanding – basic49,780 52,029 49,910 52,383 
Options to purchase common stock3,980 — — — 
Restricted stock1,783 — — — 
Employee stock purchase plan shares34 — — — 
Weighted average shares outstanding – diluted
55,577 52,029 49,910 52,383 
Net income (loss) per share – diluted
$0.04 $(0.11)$(0.01)$(0.22)
The following weighted-average outstanding shares of common stock equivalents were excluded from the computation of diluted net loss per share attributable to common stockholders for the periods presented because including them would have been anti-dilutive (in thousands):
Three Months Ended June 30,Six Months Ended June 30,
2024202320242023
Options to purchase common stock
2,5552,2392,9502,066
Unvested restricted stock units31890191,671
ESPP—58—75
Total common stock equivalents excluded from net loss per share – diluted
2,5863,1872,9693,812