v3.23.2
Net Income (Loss) Per Share Attributable to Common Stockholders - Schedule of Antidilutive Securities (Details) - shares
shares in Thousands
6 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential common shares excluded from diluted net income (loss) per share (in shares) 4,060 12,972
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 income (loss) per share (in shares) 0 66
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 income (loss) per share (in shares) 3,960 8,569
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 income (loss) per share (in shares) 0 3,275
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 income (loss) per share (in shares) 100 1,062