Annual report pursuant to Section 13 and 15(d)

Net (Loss) Income Per Share - Potentially Dilutive Securities Excluded from Diluted Per Share Calculations (Details)

v3.22.1
Net (Loss) Income Per Share - Potentially Dilutive Securities Excluded from Diluted Per Share Calculations (Details) - shares
shares in Thousands
12 Months Ended
Jan. 31, 2022
Jan. 31, 2021
Jan. 31, 2020
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive shares excluded from net loss per share (in shares) 51,965 183,508 146,691
Convertible Preferred Stock      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive shares excluded from net loss per share (in shares) 0 120,902 102,408
Options to purchase common stock      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive shares excluded from net loss per share (in shares) 44,355 46,455 43,752
Convertible note      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive shares excluded from net loss per share (in shares) 0 8,653 0
Performance share units      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive shares excluded from net loss per share (in shares) 3,175 3,100 0
Restricted stock units      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive shares excluded from net loss per share (in shares) 1,730 450 300
ESPP      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive shares excluded from net loss per share (in shares) 205 0 0
Deferred stock compensation plan      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive shares excluded from net loss per share (in shares) 0 1,217 0
Warrants to purchase common stock      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive shares excluded from net loss per share (in shares) 2,500 2,731 231