XML 68 R54.htm IDEA: XBRL DOCUMENT v3.20.4
Debt - Additional Information (Details)
1 Months Ended 12 Months Ended
Jul. 12, 2019
USD ($)
Nov. 27, 2017
USD ($)
Jan. 31, 2021
USD ($)
$ / shares
shares
Jan. 31, 2021
USD ($)
TradingDay
$ / shares
shares
Jan. 31, 2020
USD ($)
Jan. 31, 2019
USD ($)
Apr. 30, 2020
USD ($)
Debt Instrument [Line Items]              
Repayment of outstanding principal balance       $ 40,000,000      
November 2017 Facility              
Debt Instrument [Line Items]              
Line of credit facility, interest expense       1,100,000 $ 1,300,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.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      
Gross carrying amount of equity component     $ 70,509,000 $ 70,509,000      
Debt instrument, effective interest rate     5.19% 5.19%      
Liability issuance costs     $ 7,470,000 $ 7,470,000      
Equity issuance costs     $ 1,933,000 1,933,000      
Interest expense, debt       $ 600,000      
Initial strike price | $ / shares     25.80 25.80      
Initial cap prices | $ / shares     35.58 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 $ 267,614,000      
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%      
Debt instrument, sinking fund payment       $ 0      
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              
Debt Instrument [Line Items]              
Aggregate principal amount   $ 350,000,000.0          
Leverage ratio Maximum   6.00%          
Secured Debt | November 2017 Facility | Wells Fargo Bank              
Debt Instrument [Line Items]              
Debt instrument due date Jul. 12, 2022 Nov. 27, 2020          
Line of credit facility, finance leases and debt covenant limit $ 200,000,000.0 $ 100,000,000.0          
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 100,000,000.0 $ 85,000,000.0          
Line of credit facility, interest payment terms       Interest on the revolving loans is payable quarterly in arrears with respect to loans based on the prime rate and at the end of an interest period in the case of loans based on the LIBOR rate (or at each three-month interval if the interest period is longer than three months).      
Line of credit facility additional amount drawn             $ 30,000,000.0
Total debt outstanding with carrying amount     $ 30,000,000.0 $ 30,000,000.0      
Repayment of outstanding principal balance       $ 40,000,000.0      
Secured Debt | November 2017 Facility | Revolving Credit Facility | Wells Fargo Bank | Prime Rate              
Debt Instrument [Line Items]              
Line of credit facility, floating interest rate       0.25%      
Secured Debt | November 2017 Facility | Revolving Credit Facility | Wells Fargo Bank | London Interbank Offered Rate (LIBOR)              
Debt Instrument [Line Items]              
Line of credit facility, floating interest rate       1.00%      
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 $ 30,000,000.0          
Secured Debt | November 2017 Facility | Paid in October 2020 | Revolving Credit Facility | Wells Fargo Bank              
Debt Instrument [Line Items]              
Repayment of outstanding principal balance       $ 20,000,000.0      
Secured Debt | November 2017 Facility | Paid in January 2021 | Revolving Credit Facility | Wells Fargo Bank              
Debt Instrument [Line Items]              
Repayment of outstanding principal balance       $ 20,000,000.0