v3.26.1
Earnings per Share Attributable to Common Stockholders - Computation of Basic and Diluted Earnings Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jan. 31, 2026
Jan. 31, 2025
Jan. 31, 2024
Numerator:      
Net income attributable to common stockholders $ (42,066) $ 194,447 $ 76,966
Denominator:      
Weighted-average number of common stock outstanding used in computing earnings per share, basic (in shares) 56,647,662 38,990,556 37,297,221
Earnings per share attributable to common stockholders (in dollars per share) $ (0.74) $ 4.99 $ 2.06
Numerator:      
Net income attributable to common stockholders, basic $ (42,066) $ 194,447 $ 76,966
Fair value adjustment for the convertible note, net of tax effect 0 (12,695) 953
Fair value adjustment of warrants, net of tax effect 1,517 (678) (1,241)
Net income attributable to common stockholders, dilutive $ (43,203) $ 181,752 $ 77,919
Denominator:      
Weighted-average number of common stock outstanding used in computing earnings per share, basic (in shares) 56,647,662 38,990,556 37,297,221
Conversion of the convertible note (in shares) 0 492,096 6,888,298
Conversion of redeemable convertible preferred stock, all series (in shares) 0 69,914,359 69,914,359
Dilutive effect of stock options (in shares) 0 27,962,907 28,567,993
Dilutive effect of equity-classified common stock warrants (in shares) 0 1,300,400 1,210,425
Dilutive effect of liability-classified Series G Warrant (in shares) 164,242 0 0
Dilutive effect of liability-classified common stock warrant (in shares) 78,552 0 0
Weighted-average number of common stock outstanding used in computing earnings per share, dilutive (in shares) 56,890,456 138,660,318 143,878,296
Earnings per share attributable to common stockholders, diluted (in dollars per share) $ (0.76) $ 1.31 $ 0.54
Series G Warrant      
Numerator:      
Fair value adjustment of warrants, net of tax effect $ (893) $ 0 $ 0
Common Stock Warrant      
Numerator:      
Fair value adjustment of warrants, net of tax effect $ (244) $ 0 $ 0