v3.25.2
Net Income (Loss) per Share (Tables)
6 Months Ended
Jun. 30, 2025
Earnings Per Share [Abstract]  
Schedule of Earnings Per Share, Basic and Diluted
Basic and diluted net income (loss) per share was calculated as follows (in thousands, except per share data):
 For the three months ended June 30,For the six months ended June 30,
2025202420252024
Numerator:
Net income (loss)$5,606 $70,711 $(2,562)$207,700 
Denominator:
Weighted-average shares used to compute net income (loss) per share—basic52,588 52,321 52,526 52,242 
Dilutive restrictive stock awards28 57 — 51 
Weighted-average shares used to compute net income (loss) per share—diluted52,616 52,378 52,526 52,293 
Net income (loss) per share—basic $0.11 $1.35 $(0.05)$3.98 
Net income (loss) per share—diluted$0.11 $1.35 $(0.05)$3.97