XML 53 R43.htm IDEA: XBRL DOCUMENT v3.21.2
Convertible Notes (Details)
3 Months Ended 9 Months Ended 12 Months Ended
Oct. 22, 2021
USD ($)
$ / shares
Nov. 18, 2020
USD ($)
Nov. 16, 2020
USD ($)
day
$ / shares
shares
Sep. 30, 2021
USD ($)
$ / shares
Sep. 30, 2021
USD ($)
$ / shares
Dec. 31, 2020
USD ($)
$ / shares
Jan. 01, 2021
USD ($)
Debt Instrument [Line Items]              
Purchase of capped call options associated with convertible notes     $ 46,000,000        
Prepayment of forward stock repurchase transaction     $ 55,000,000        
Common stock, par value (in dollars per share) | $ / shares       $ 0.001 $ 0.001 $ 0.001  
Additional Paid in Capital       $ (733,524,000) $ (733,524,000) $ (797,655,000)  
Accumulated Deficit       1,041,258,000 1,041,258,000 838,817,000  
Underlying common stock (in shares) | shares     1,994,198        
Cumulative Effect, Period of Adoption, Adjustment              
Debt Instrument [Line Items]              
Additional Paid in Capital             $ 93,500,000
Accumulated Deficit             $ 1,500,000
Capped Call | Common stock              
Debt Instrument [Line Items]              
Exercise price (in dollars per share) | $ / shares     $ 55.16        
Class of warrant or right, premium percentage     100.00%        
Convertible Senior Notes Due 2025 | Convertible Debt              
Debt Instrument [Line Items]              
Debt instrument, face amount   $ 280,000,000 $ 250,000,000        
Debt instrument, stated interest rate     4.00%        
Proceeds from debt, net of issuance costs   $ 29,100,000 $ 242,000,000     271,100,000  
Debt instrument, additional principal amount     $ 30,000,000        
Proceeds from issuance of convertible notes           280,000,000  
Debt instrument, convertible, conversion ratio     30.2151        
Debt instrument, convertible, conversion price (in dollars per share) | $ / shares     $ 33.096        
Debt instrument, redemption price, percentage     100.00%        
Debt issuance cost     $ 8,900,000        
Debt instrument, term     5 years        
Long-term debt     $ 177,600,000        
Debt instrument, convertible, carrying amount of equity component     $ 93,500,000        
Debt interest expense       3,200,000 9,600,000    
Debt fair value       $ 174,800,000 $ 174,800,000 $ 283,400,000  
Convertible Senior Notes Due 2025 | Convertible Debt | Subsequent Event              
Debt Instrument [Line Items]              
Exchange Agreement, amount of principal amount converted into common stock $ 15,000,000            
Exchange Agreement, weighted average price per share floor (in dollars per share) | $ / shares $ 5.62            
Exchange Agreement, threshold trading days 5 days            
Convertible Senior Notes Due 2025 | Convertible Debt | Period One              
Debt Instrument [Line Items]              
Common stock, par value (in dollars per share) | $ / shares     $ 0.001        
Debt instrument, convertible, threshold percentage of stock price trigger     130.00%        
Debt instrument, convertible, threshold trading days | day     20        
Average trading-day period | day     30        
Number of business days | day     5        
Number of consecutive trading days | day     5        
Debt instrument, convertible, threshold percentage of last reported sale price     98.00%        
Convertible Senior Notes Due 2025 | Convertible Debt | Period Two              
Debt Instrument [Line Items]              
Debt instrument, convertible, threshold percentage of stock price trigger     130.00%        
Debt instrument, convertible, threshold trading days | day     20        
Average trading-day period | day     30        
Debt instrument, redemption price, percentage     100.00%        
Debt instrument, required amount outstanding     $ 125,000,000        
Convertible Senior Notes Due 2025 | Convertible Debt | Long-term Debt              
Debt Instrument [Line Items]              
Debt issuance cost     5,800,000        
Convertible Senior Notes Due 2025 | Convertible Debt | Additional Paid-In Capital              
Debt Instrument [Line Items]              
Debt issuance cost     $ 3,100,000