v3.25.0.1
Net Income (Loss) Per Share Attributable to Common Stockholders - Antidilutive (Details) - shares
shares in Thousands
12 Months Ended
Jan. 31, 2025
Jan. 31, 2024
Jan. 31, 2023
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potential common shares excluded from diluted net loss per share (in shares) 12,413 3,537 17,400
RSUs and PSUs subject to future vesting      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potential common shares excluded from diluted net loss per share (in shares) 10,454 3,125 10,050
Shares of common stock issuable from stock options      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potential common shares excluded from diluted net loss per share (in shares) 1,217 1 2,869
Share purchase rights under the Employee Stock Purchase Plan      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potential common shares excluded from diluted net loss per share (in shares) 742 411 4,481