v3.26.1
Net Income (Loss) Per Share
6 Months Ended
Jun. 30, 2026
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share Net Income (Loss) Per Share
The following table summarizes the computation of basic and diluted net loss per share attributable to common stockholders of the Company:
Three Months Ended June 30,Six Months Ended June 30,
2026202520262025
(in thousands, except per share data)
Net income (loss) attributable to common stockholders$18,156 $(20,179)$12,939 $(44,056)
Weighted-average shares outstanding
Weighted average shares used to compute basic net income (loss) per share26,450 23,923 26,397 23,790 
Dilutive effect of employee equity incentive plans1,040 — 938 — 
Weighted average shares used to compute diluted net income (loss) per share27,490 23,923 27,335 23,790 
Net income (loss) attributable to common stockholders per share, basic$0.69 $(0.84)$0.49 $(1.85)
Net income (loss) attributable to common stockholders per share, diluted$0.66 $(0.84)$0.47 $(1.85)
Potential dilutive securities include dilutive common shares from share-based awards attributable to the restricted stock unit awards calculated using the treasury stock method. Under the treasury stock method, potential common shares outstanding are not included in the computation of diluted net income per share if their effect is anti-dilutive.
Anti-dilutive potential shares from share-based awards are excluded from the calculation of diluted earnings per share if either their exercise price exceeded the average market price during the period, or the share-based awards were determined to be anti-dilutive based on applying the treasury stock method. During the three months ended June 30, 2026 and 2025, the Company had 1,029 and 403,246 potential shares from restricted stock units that are anti-dilutive, respectively. During the six months ended June 30, 2026 and 2025, the Company had 13,826 and 455,502 potential shares from restricted stock units that are anti-dilutive, respectively.
The Company calculates diluted earnings per share for its convertible senior notes using the if-converted method. For the three and six months ended June 30, 2026, the shares issuable upon conversion of the convertible senior notes were excluded from diluted earnings per share because the effect of including such shares would have been anti-dilutive. The related capped call transactions were also excluded from diluted earnings per share because they are anti-dilutive.