XML 80 R60.htm IDEA: XBRL DOCUMENT v3.21.1
Debt - Carrying Amount Of Equity Component (Details) - Convertible Debt - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2021
Jan. 31, 2020
Convertible Senior Notes Due 2023    
Debt Instrument [Line Items]    
Proceeds allocated to the conversion option (debt discount) $ 134,667 $ 134,667
Less: extinguishment or conversion (31,933) 0
Less: transaction costs (3,336) (3,336)
Net carrying value of mezzanine and permanent equity component 99,398 $ 131,331
Excess of if-converted value over principal $ 259,578  
Debt interest rate percentage 5.90% 5.90%
Convertible Senior Notes Due 2024    
Debt Instrument [Line Items]    
Proceeds allocated to the conversion option (debt discount) $ 64,453  
Less: transaction costs (1,185)  
Net carrying value of mezzanine and permanent equity component 63,268  
Excess of if-converted value over principal $ 0  
Debt interest rate percentage 3.80%