XML 64 R46.htm IDEA: XBRL DOCUMENT v3.22.0.1
Fair Value Measurements - Summary of Financial Instruments Measured at Fair Value (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets $ 2,123,511 $ 12,093
Money market funds | Cash and cash equivalents    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 1,070,979 6,413
Money market funds | Restricted cash equivalents    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 1,050,000  
Marketable equity securities | Prepaid expenses and other current assets    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 2,532  
Embedded derivative | Long-term debt    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets   5,680
Convertible Security | Deferred acquisition costs, current    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Liability   46,500
Level 1    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 2,123,511 6,413
Level 1 | Money market funds | Cash and cash equivalents    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 1,070,979 6,413
Level 1 | Money market funds | Restricted cash equivalents    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 1,050,000  
Level 1 | Marketable equity securities | Prepaid expenses and other current assets    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 2,532  
Level 1 | Embedded derivative | Long-term debt    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets   0
Level 1 | Convertible Security | Deferred acquisition costs, current    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Liability   0
Level 2    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 0 0
Level 2 | Money market funds | Cash and cash equivalents    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 0 0
Level 2 | Money market funds | Restricted cash equivalents    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 0  
Level 2 | Marketable equity securities | Prepaid expenses and other current assets    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 0  
Level 2 | Embedded derivative | Long-term debt    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets   0
Level 2 | Convertible Security | Deferred acquisition costs, current    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Liability   0
Level 3    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 0 5,680
Level 3 | Money market funds | Cash and cash equivalents    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 0 0
Level 3 | Money market funds | Restricted cash equivalents    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets 0  
Level 3 | Marketable equity securities | Prepaid expenses and other current assets    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets $ 0  
Level 3 | Embedded derivative | Long-term debt    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Assets   5,680
Level 3 | Convertible Security | Deferred acquisition costs, current    
Fair Value By Fair Value Hierarchy Level [Line Items]    
Financial Liability   $ 46,500