v3.24.0.1
Net Income (Loss) Per Share Attributable to Common Stockholders - Antidilutive (Details) - shares
shares in Thousands
12 Months Ended
Jan. 31, 2024
Jan. 31, 2023
Jan. 31, 2022
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potential common shares excluded from diluted net loss per share (in shares) 3,537 17,400 12,664
Shares of common stock subject to repurchase from outstanding 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) 0 0 198
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) 3,125 10,050 7,886
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 2,869 3,938
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) 411 4,481 642