XML 45 R35.htm IDEA: XBRL DOCUMENT v3.21.2
Convertible Notes Payable - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Mar. 31, 2021
USD ($)
Sep. 12, 2017
USD ($)
day
business_day
$ / shares
Sep. 30, 2021
USD ($)
Sep. 30, 2020
USD ($)
Sep. 30, 2021
USD ($)
Sep. 30, 2020
USD ($)
Jan. 01, 2021
USD ($)
Dec. 31, 2020
USD ($)
Aug. 14, 2017
USD ($)
Debt Instrument [Line Items]                  
Accumulated deficit     $ (1,352,397)   $ (1,352,397)     $ (1,345,822)  
Additional paid-in-capital     1,109,843   1,109,843     $ 1,222,137  
Gain on extinguishment of debt     0 $ 0 1,960 $ 0      
Cumulative Effect, Period of Adoption, Adjustment | Accounting Standards Update 2020-06                  
Debt Instrument [Line Items]                  
Accumulated deficit             $ 48,017    
Additional paid-in-capital             (134,450)    
Convertible debt | 3.00% Convertible notes                  
Debt Instrument [Line Items]                  
Aggregate principal amount   $ 5,000             $ 300,000
Debt instrument stated rate   3.00%             3.00%
Debt issuance costs   $ 9,400              
Repurchase aggregate principal amount $ 112,200                
Initial carrying amount   166,300 190,272   190,272        
Equity component   138,700              
Proceeds from the issuance of debt   $ 305,000 $ 192,753   $ 192,753        
Debt discount, remaining discount amortization period   7 years              
Effective interest rate     3.43%   3.43%        
Conversion ratio   0.0204891              
Initial conversion price (in dollars per share) | $ / shares   $ 48.81              
Repayments of debt $ 108,600                
Gain on extinguishment of debt         $ 2,000        
Debt instrument term   7 years              
Estimated fair value     $ 175,800   175,800        
Convertible debt | 3.00% Convertible notes | Selling, General and Administrative Expenses                  
Debt Instrument [Line Items]                  
Third party costs         $ 300        
Convertible debt | 3.00% Convertible notes | Cumulative Effect, Period of Adoption, Adjustment                  
Debt Instrument [Line Items]                  
Initial carrying amount             86,400    
Accumulated deficit             48,000    
Additional paid-in-capital             $ (134,500)    
Effective interest rate             3.43%    
Convertible debt | 3.00% Convertible notes | Stock price trigger at greater than or equal to 130%                  
Debt Instrument [Line Items]                  
Consecutive or non-consecutive trading days   20 days              
Consecutive trading days | day   30              
Percentage of stock price trigger   130.00%              
Convertible debt | 3.00% Convertible notes | Stock price trigger less than 98%                  
Debt Instrument [Line Items]                  
Consecutive trading days | day   5              
Percentage of stock price trigger   98.00%              
Trading days | business_day   5              
Convertible debt | 3.00% Convertible notes | Stock price trigger at greater than or equal to 130%, on or after September 1, 2021                  
Debt Instrument [Line Items]                  
Consecutive or non-consecutive trading days   20 days              
Consecutive trading days | day   30              
Percentage of stock price trigger   130.00%              
Consecutive trading days, redemption notice period | day   5              
Convertible debt | 3.00% Convertible notes | Additional Paid-In Capital                  
Debt Instrument [Line Items]                  
Debt issuance costs   $ 4,300              
Convertible debt | 3.00% Convertible notes | Convertible notes                  
Debt Instrument [Line Items]                  
Debt issuance costs   $ 5,100