XML 85 R71.htm IDEA: XBRL DOCUMENT v3.22.0.1
Debt - Additional Information (Details)
1 Months Ended 12 Months Ended
Apr. 22, 2020
USD ($)
Dec. 31, 2021
USD ($)
$ / shares
Dec. 31, 2021
USD ($)
$ / shares
Dec. 31, 2021
USD ($)
tradingDay
$ / shares
Dec. 31, 2021
USD ($)
consecutiveTradingDay
$ / shares
Dec. 31, 2021
USD ($)
consecutiveBusinessDay
$ / shares
Dec. 31, 2021
USD ($)
$ / shares
shares
Dec. 31, 2020
USD ($)
$ / shares
Dec. 31, 2019
USD ($)
Dec. 03, 2020
$ / shares
Debt Instrument [Line Items]                    
Proceeds from issuance of convertible senior notes             $ 609,375,000 $ 0 $ 0  
Capped Calls, initial strike price (in dollars per share) | $ / shares   $ 19.98 $ 19.98 $ 19.98 $ 19.98 $ 19.98 $ 19.98      
Capped Calls, initial cap price (in dollars per share) | $ / shares   30.16 30.16 30.16 30.16 30.16 $ 30.16      
Loss on extinguishment of debt             $ 0 $ (3,996,000) (6,124,000)  
Class A Common Stock                    
Debt Instrument [Line Items]                    
Common stock, par value (in dollars per share) | $ / shares   $ 0.0001 $ 0.0001 $ 0.0001 $ 0.0001 $ 0.0001 $ 0.0001 $ 0.0001   $ 0.0001
Senior Notes                    
Debt Instrument [Line Items]                    
Accrued interest repaid               $ 2,500,000 1,500,000  
Loss on extinguishment of debt               $ 4,000,000 0  
Convertible Senior Notes Due 2026 | Convertible Debt                    
Debt Instrument [Line Items]                    
Principal   $ 625,000,000 $ 625,000,000 $ 625,000,000 $ 625,000,000 $ 625,000,000 $ 625,000,000      
Interest rate (as a percent)   1.25% 1.25% 1.25% 1.25% 1.25% 1.25%      
Proceeds from the issuance of debt   $ 75,000,000                
Proceeds from issuance of convertible senior notes   $ 609,400,000                
Convertible, shares issuable (in shares) | shares             50.0475      
Conversion price (in dollars per share) | $ / shares   $ 19.98 $ 19.98 $ 19.98 $ 19.98 $ 19.98 $ 19.98      
Net cost   $ 16,200,000 $ 16,200,000 $ 16,200,000 $ 16,200,000 $ 16,200,000 $ 16,200,000      
Note term             5 years      
Accrued interest repaid             $ 500,000      
Payments To Purchase Capped Calls             $ 73,400,000      
Convertible Senior Notes Due 2026 | Convertible Debt | Debt Instrument, Redemption, Period One                    
Debt Instrument [Line Items]                    
Threshold trading days | tradingDay       20            
Threshold consecutive trading days | consecutiveTradingDay         30          
Redemption price percentage     100.00%              
Convertible Senior Notes Due 2026 | Convertible Debt | Debt Instrument, Redemption, Period Two                    
Debt Instrument [Line Items]                    
Threshold percentage of stock price trigger     130.00%              
Threshold trading days | tradingDay       20            
Threshold consecutive trading days | consecutiveTradingDay         30          
Convertible Senior Notes Due 2026 | Convertible Debt | Debt Instrument, Redemption, Period Three                    
Debt Instrument [Line Items]                    
Threshold trading days         10 5        
Percent of conversion price triggering conversion feature     98.00%              
Convertible Senior Notes Due 2026 | Convertible Debt | Class A Common Stock                    
Debt Instrument [Line Items]                    
Common stock, par value (in dollars per share) | $ / shares   $ 0.0001 $ 0.0001 $ 0.0001 $ 0.0001 $ 0.0001 $ 0.0001      
Convertible Senior Notes Due 2026 | Convertible Debt | Class A Common Stock | Debt Instrument, Redemption, Period One                    
Debt Instrument [Line Items]                    
Threshold percentage of stock price trigger     130.00%              
CARES Act, PPP Loan                    
Debt Instrument [Line Items]                    
Loan proceeds $ 7,800,000                  
Bridge Note | Convertible Promissory Note                    
Debt Instrument [Line Items]                    
Loss on extinguishment of debt                 $ 6,000,000