v3.23.1
Net Income (Loss) Per Share Attributable to Common Stockholders - Schedule of Antidilutive Securities (Details) - shares
shares in Thousands
3 Months Ended
Apr. 30, 2023
Apr. 30, 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) 6,855 13,141
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 132
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) 5,832 8,881
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) 3 3,518
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) 1,020 610