XML 46 R34.htm IDEA: XBRL DOCUMENT v3.20.2
Long-term Debt - Additional Information (Detail)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
May 12, 2020
USD ($)
Sep. 16, 2019
USD ($)
Mar. 26, 2019
USD ($)
Oct. 20, 2017
USD ($)
Installment
$ / shares
shares
Oct. 19, 2017
USD ($)
$ / shares
shares
Sep. 30, 2020
USD ($)
$ / shares
Sep. 30, 2019
USD ($)
Sep. 30, 2020
USD ($)
d
$ / shares
Sep. 30, 2019
USD ($)
May 06, 2020
CounterParty
$ / shares
Dec. 31, 2019
USD ($)
Sep. 11, 2019
USD ($)
CounterParty
$ / shares
Debt Instrument [Line Items]                        
Amortization of debt discounts                 $ 51      
Loss on extinguishment of debt             $ 293   $ 1,501      
Term Loan Facility [Member]                        
Debt Instrument [Line Items]                        
Principal amount     $ 21,700                  
Final payment due amount     21,800                  
Debt instrument per diem interest amount     $ 100                  
Final payment percentage equal to original principal amount     8.00%                  
Final payment towards original principal amount     $ 1,600                  
Prepayment fee     100                  
Loss on extinguishment of debt     $ 1,200                  
Silicon Valley Bank [Member] | Term Loan Facility [Member]                        
Debt Instrument [Line Items]                        
Warrant to purchase common stock | shares       14,064                
Exercise price per share | $ / shares       $ 5.484                
Warrant term       10 years                
Aggregate purchase price       $ 250                
Loan and Security Agreement [Member] | Silicon Valley Bank [Member]                        
Debt Instrument [Line Items]                        
Debt instrument, due and payment description               the Company was required to make monthly interest-only payments through November 1, 2019 and was required to make 24 equal monthly payments of principal, plus accrued interest, from November 1, 2019 through October 1, 2021, when all unpaid principal and interest became due and payable        
Term loan facility       $ 20,000                
Loan and Security Agreement [Member] | Silicon Valley Bank [Member] | Convertible Preferred Stock [Member]                        
Debt Instrument [Line Items]                        
Debt instrument, number of equal monthly installments | Installment       24                
Loan and Security Agreement [Member] | Silicon Valley Bank [Member] | Prime Rate [Member]                        
Debt Instrument [Line Items]                        
Interest bear rate       1.50%                
2019 Convertible Notes [Member]                        
Debt Instrument [Line Items]                        
Premium paid for capped call transactions               $ 28,400        
2020 Convertible Notes [Member]                        
Debt Instrument [Line Items]                        
Premium paid for capped call transactions               43,100        
Capped Call Transactions [Member]                        
Debt Instrument [Line Items]                        
Number of counterparties | CounterParty                   2   2
Initial conversion price | $ / shares                   $ 39.4625   $ 39.4625
Initial cap price | $ / shares                       $ 63.14
Convertible Senior Notes Due 2026 [Member]                        
Debt Instrument [Line Items]                        
Principal amount           $ 353,800   $ 353,800        
Debt instrument, stated percentage   3.50%                    
Debt instrument, due and payment description               The Convertible Notes are senior unsecured obligations of the Company and bear interest at a rate of 3.5% per year payable semiannually in arrears on March 15 and September 15 of each year, beginning on March 15, 2020.        
Debt instrument, frequency of periodic payment               semiannually        
Maturity date   Sep. 15, 2026                    
Redemption period, start date               Sep. 20, 2023        
Threshold percentage of stock price trigger               130.00%        
Threshold trading days | d               20        
Threshold consecutive trading days | d               30        
Redemption price, percentage               100.00%        
Debt interest expense           9,500   $ 20,300        
Amortization of debt discounts           4,800   10,100        
Accrued semi annual coupon payable           4,600   9,800        
Amortization of debt issuance costs           100   400        
Debt issuance costs gross           8,000   8,000        
Long-term debt           $ 353,800   $ 353,800     $ 142,600  
Convertible Senior Notes Due 2026 [Member] | Common Stock [Member]                        
Debt Instrument [Line Items]                        
Terms of conversion               The Convertible Notes are convertible into shares of the Company’s common stock at an initial conversion rate of 25.3405 shares per $1,000 principal amount of Convertible Notes (equivalent to an initial conversion price of approximately $39.46 per share of common stock).        
Conversion ratio               0.0253405        
Conversion price | $ / shares           $ 39.46   $ 39.46        
Convertible Senior Notes Due 2026 [Member] | 2019 Convertible Notes [Member]                        
Debt Instrument [Line Items]                        
Net proceeds from the sale of the notes   $ 212,900                    
Payment of convertible debt discounts and commissions   6,600                    
Payment of convertible debt offering expenses   500                    
Payments of transactions cost   $ 28,400                    
Debt instrument, stated percentage   3.50%                    
Debt instrument effective interest rate                       10.50%
Debt instrument convertible carrying amount of liability component                       $ 145,100
Debt discount                       74,900
Debt issuance costs                       7,100
Convertible Senior Notes Due 2026 [Member] | 2019 Convertible Notes [Member] | Liability Component [Member]                        
Debt Instrument [Line Items]                        
Debt issuance costs                       4,700
Convertible Senior Notes Due 2026 [Member] | 2019 Convertible Notes [Member] | Equity Component [Member]                        
Debt Instrument [Line Items]                        
Debt issuance costs                       $ 2,400
Convertible Senior Notes Due 2026 [Member] | 2020 Convertible Notes [Member]                        
Debt Instrument [Line Items]                        
Net proceeds from the sale of the notes $ 322,900                      
Payment of convertible debt discounts and commissions 5,700                      
Payment of convertible debt offering expenses 300                      
Payments of transactions cost $ 43,100                      
Debt instrument effective interest rate 10.50%                      
Debt instrument convertible carrying amount of liability component $ 204,500                      
Debt discount 95,500                      
Debt issuance costs 6,000                      
Convertible Senior Notes Due 2026 [Member] | 2020 Convertible Notes [Member] | Liability Component [Member]                        
Debt Instrument [Line Items]                        
Debt issuance costs 3,700                      
Convertible Senior Notes Due 2026 [Member] | 2020 Convertible Notes [Member] | Equity Component [Member]                        
Debt Instrument [Line Items]                        
Debt issuance costs 2,300                      
Convertible Senior Notes Due 2026 [Member] | Private Offering [Member] | 2019 Convertible Notes [Member]                        
Debt Instrument [Line Items]                        
Principal amount   $ 220,000                    
Convertible Senior Notes Due 2026 [Member] | Private Offering [Member] | 2020 Convertible Notes [Member]                        
Debt Instrument [Line Items]                        
Principal amount $ 300,000                      
Unsecured Promissory Note [Member] | Golda Darty Partners S A [Member]                        
Debt Instrument [Line Items]                        
Principal amount   7,000     $ 7,000              
Debt instrument, due and payment description               The promissory note accrued interest at a rate per annum of 8.0%, and was due and payable quarterly in arrears on the 19th day of each April, July, October and January.        
Maturity date         Oct. 19, 2022              
Long-term debt         $ 7,000              
Debt instrument per diem interest amount   100                    
Loss on extinguishment of debt         $ 300              
Warrant to purchase common stock | shares         93,764              
Exercise price per share | $ / shares         $ 5.484              
Accrued interest rate         8.00%              
Repayment of related party due amount including diem interest   $ 7,100                    
Fair value of warrant         $ 400