XML 70 R57.htm IDEA: XBRL DOCUMENT v3.22.0.1
Debt - Additional Information (Details)
1 Months Ended 12 Months Ended
Jul. 26, 2021
USD ($)
Jun. 30, 2021
USD ($)
$ / shares
shares
Nov. 27, 2017
Jan. 31, 2021
USD ($)
$ / shares
shares
Jan. 31, 2022
USD ($)
TradingDay
$ / shares
shares
Jan. 31, 2021
USD ($)
$ / shares
Jan. 31, 2020
USD ($)
Interest Rate Swap              
Debt Instrument [Line Items]              
Derivative, Notional Amount         $ 30,000,000.0    
Derivative, effective date         Sep. 05, 2019    
Derivative, maturity period         5 years    
November 2017 Facility              
Debt Instrument [Line Items]              
Line of credit facility, interest expense         $ 800,000 $ 1,100,000 $ 1,300,000
Convertible Senior Notes | 0.00% Convertible Senior Notes Due January 15, 2026              
Debt Instrument [Line Items]              
Aggregate principal amount       $ 345,000,000.0 $ 345,000,000 $ 345,000,000.0  
Debt instrument interest rate stated percentage       0.00%   0.00%  
Debt instrument due date       Jan. 15, 2026      
Principal amount of notes used in conversion rate       $ 1,000   $ 1,000  
Initial conversion rate per $1,000 principal amount of notes | shares       38.7665      
Initial conversion price per share of common stock | $ / shares       $ 25.80   $ 25.80  
Debt instrument, convertible, latest date         Oct. 15, 2025    
Debt instrument, effective interest rate         0.56%    
Interest expense, debt         $ 1,900,000 $ 600,000  
Strike price | $ / shares         25.80    
Initial cap prices | $ / shares         35.58    
Common stock shares covered under capped call transactions | shares         13,400,000    
Cost of purchased capped calls         $ 27,800,000    
Total debt outstanding with carrying amount       $ 267,614,000 $ 337,463,000 $ 267,614,000  
Convertible Senior Notes | 0.00% Convertible Senior Notes Due January 15, 2026 | Tender Offer              
Debt Instrument [Line Items]              
Principal amount of notes used in conversion rate   $ 1,000          
Initial conversion rate per $1,000 principal amount of notes | shares   38.7962          
Initial conversion price per share of common stock | $ / shares   $ 25.78          
Convertible Senior Notes | 0.00% Convertible Senior Notes Due January 15, 2026 | Debt Instrument, Redemption, Period On or After January 20, 2024              
Debt Instrument [Line Items]              
Debt instrument, convertible, threshold trading days | TradingDay         20    
Debt instrument, convertible, threshold consecutive trading days | TradingDay         30    
Debt instrument, convertible, threshold percentage of stock price trigger         130.00%    
Debt instrument, redemption period, start date         Jan. 20, 2024    
Debt instrument, redemption price, percentage of principal amount redeemed         100.00%    
Convertible Senior Notes | 0.00% Convertible Senior Notes Due January 15, 2026 | Debt Instrument, Convertible, Terms of Conversion Feature, Circumstances One              
Debt Instrument [Line Items]              
Debt instrument, convertible, threshold trading days | TradingDay         20    
Debt instrument, convertible, threshold consecutive trading days | TradingDay         30    
Debt instrument, convertible, threshold percentage of stock price trigger         130.00%    
Convertible Senior Notes | 0.00% Convertible Senior Notes Due January 15, 2026 | Debt Instrument, Convertible, Terms of Conversion Feature, Circumstances Two              
Debt Instrument [Line Items]              
Debt instrument, convertible, threshold consecutive trading days | TradingDay         5    
Debt instrument, convertible, threshold maximum percentage of product of last reported sale price of common stock         98.00%    
Secured Debt | November 2017 Facility | Wells Fargo Bank              
Debt Instrument [Line Items]              
Debt instrument due date Jul. 26, 2024            
Secured Debt | November 2017 Facility | Revolving Credit Facility | Wells Fargo Bank              
Debt Instrument [Line Items]              
Line of credit facility, termination date     Nov. 27, 2017        
Line of credit facility, maximum borrowing capacity $ 65,000,000.0            
Total debt outstanding with carrying amount         $ 30,000,000.0    
Secured Debt | November 2017 Facility | Revolving Credit Facility | Wells Fargo Bank | London Interbank Offered Rate (LIBOR) | Maximum              
Debt Instrument [Line Items]              
Line of credit facility, floating interest rate         1.65%    
Secured Debt | November 2017 Facility | Revolving Credit Facility | Wells Fargo Bank | London Interbank Offered Rate (LIBOR) | Minimum              
Debt Instrument [Line Items]              
Line of credit facility, floating interest rate         1.15%    
Secured Debt | November 2017 Facility | Letters of Credit | Wells Fargo Bank              
Debt Instrument [Line Items]              
Line of credit facility, maximum borrowing capacity sublimit $ 45,000,000.0