Net Income (Loss) Per Share - Summary of Diluted Net Income (Loss) Per Common Share (Details) - shares shares in Thousands |
3 Months Ended | 9 Months Ended | ||
---|---|---|---|---|
Oct. 31, 2022 |
Oct. 31, 2021 |
Oct. 31, 2022 |
Oct. 31, 2021 |
|
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Total anti-dilutive securities (in shares) | 29,105 | 7,968 | 30,199 | 9,618 |
Shares related to outstanding share-based awards | ||||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Total anti-dilutive securities (in shares) | 16,105 | 151 | 15,453 | 1,801 |
Shares related to the convertible senior notes | ||||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Total anti-dilutive securities (in shares) | 5,182 | 7,817 | 6,928 | 7,817 |
Shares subject to warrants related to the issuance of convertible senior notes | ||||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Total anti-dilutive securities (in shares) | 7,818 | 0 | 7,818 | 0 |