v3.25.2
Net Income (Loss) Per Share
6 Months Ended
Jun. 30, 2025
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share
Note 4—Net Income (Loss) Per Share
The following table presents the calculation of basic and diluted net income (loss) per share for the periods presented (in thousands, except per share amounts):
 Three Months Ended 
 June 30,
Six Months Ended 
 June 30,
 2025202420252024
Numerator:
Net income (loss)$28,840 $53,005 $(23,256)$116,009 
Add back interest expense, net of tax attributable to assumed conversion of convertible senior notes1,873 1,585 — 3,170 
Net income (loss) attributable to common stockholders—diluted$30,713 $54,590 $(23,256)$119,179 
Denominator:
Weighted-average common shares outstanding—basic103,212 116,432 105,246 117,445 
Dilutive effect of outstanding stock-based compensation awards2,243 1,972 — 2,104 
Dilutive effect of assumed conversion of convertible senior notes16,059 14,714 — 14,714 
Weighted-average common shares outstanding—diluted121,514 133,118 105,246 134,263 
Net income (loss) per share attributable to common stockholders—basic$0.28 $0.46 $(0.22)$0.99 
Net income (loss) per share attributable to common stockholders—diluted$0.25 $0.41 $(0.22)$0.89 
The following potentially issuable common shares were excluded from the calculation of diluted net income (loss) per share attributable to common stockholders because their effect would have been anti-dilutive for the periods presented (in thousands):
 Three Months Ended 
 June 30,
Six Months Ended 
 June 30,
 2025202420252024
Stock-based compensation awards5,391 5,020 11,649 4,960 
Convertible senior notes— — 22,873 — 
Total anti-dilutive securities5,391 5,020 34,522 4,960 
Since the Company has reported net loss in the six months ended June 30, 2025, diluted net loss per share attributable to common stockholders is the same as basic net loss per share attributable to common stockholders, because dilutive common shares are not assumed to have been issued if their effect is anti-dilutive.