Quarterly report pursuant to Section 13 or 15(d)

Other (Expense)/Income -Narrative (Details)

v3.22.2
Other (Expense)/Income -Narrative (Details)
$ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Feb. 03, 2021
USD ($)
tranche
shares
Feb. 28, 2021
USD ($)
tranche
shares
Jun. 30, 2022
USD ($)
Jun. 30, 2021
USD ($)
Mar. 31, 2021
USD ($)
shares
Jun. 30, 2022
USD ($)
tranche
Jun. 30, 2021
USD ($)
Debt Instrument [Line Items]              
Number of tranches | tranche 2 2       3  
Conversion of bridge notes and accrued interest into common stock         $ 120    
Debt issuance costs expensed for debt carried at fair value   $ 47,600 $ 0 $ 95   $ 0 $ 47,718
Issuance costs for derivative liabilities and debt carried at fair value           $ 0 $ 646
Common Stock              
Debt Instrument [Line Items]              
Conversion of bridge notes and accrued interest into common stock (in shares) | shares         1,095,000    
Bridge Notes Payable              
Debt Instrument [Line Items]              
Debt issuance costs, shares issued | shares 8,500,000            
Debt issuance costs, value of shares issued $ 43,900            
Issuance costs for derivative liabilities and debt carried at fair value 3,700            
Bridge Notes Payable | Issued in connection with the initial tranche of Bridge Notes              
Debt Instrument [Line Items]              
Loss on conversion of debt $ (84,300)            
Bridge Notes Payable | Loss on issuance of Bridge Notes tranche two              
Debt Instrument [Line Items]              
Loss on conversion of debt   $ (12,200)          
Bridge Notes Payable | Common Stock              
Debt Instrument [Line Items]              
Conversion of bridge notes and accrued interest into common stock (in shares) | shares   11,500,000          
Conversion of bridge notes and accrued interest into common stock   $ 59,800          
Bridge Notes Payable | Common Stock warrants              
Debt Instrument [Line Items]              
Conversion of bridge notes and accrued interest into common stock (in shares) | shares   3,900,000          
Warrants issued during period, value   $ 18,400          
Bridge Notes Payable | Convertible Debt | Issued in connection with the initial tranche of Bridge Notes              
Debt Instrument [Line Items]              
Debt instrument, face amount   18,100          
Debt instrument fair value   24,200          
Bridge Notes Payable | Convertible Debt | Loss on issuance of Bridge Notes tranche two              
Debt Instrument [Line Items]              
Debt instrument, face amount   40,000          
Debt instrument fair value   $ 52,200