v3.24.2
Net (Loss) Income per Share (Tables)
6 Months Ended
Jun. 30, 2024
Earnings Per Share [Abstract]  
Reconciliation of the Numerator and Denominator used in the Calculation of the Basic and Diluted Earnings per Share
A reconciliation of the numerator and denominator used in the calculation of the basic and diluted net (loss) income per share is as follows (in thousands, except share and per share amounts):
 Three Months Ended June 30,Six Months Ended June 30,
 2024202320242023
Numerator:
Net (loss) income$(60,200)$18,960 $(49,198)$27,522 
Denominator:
Weighted average shares used to compute net (loss) income attributable to common stockholders:
Basic38,793,341 38,320,999 38,755,337 38,254,042 
Potential dilutive stock-based options and awards— 880,156 — 897,370 
Diluted38,793,341 39,201,155 38,755,337 39,151,412 
Net (loss) income per share:
Basic$(1.55)$0.49 $(1.27)$0.72 
Diluted$(1.55)$0.48 $(1.27)$0.70