Annual report pursuant to Section 13 and 15(d)

Convertible Debt (Details)

v3.23.1
Convertible Debt (Details)
shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2022
USD ($)
Nov. 11, 2022
shares
Nov. 10, 2022
USD ($)
Sep. 30, 2022
shares
Sep. 06, 2022
shares
Jul. 22, 2022
USD ($)
$ / shares
Jul. 21, 2022
Jul. 20, 2022
USD ($)
$ / shares
May 10, 2022
$ / shares
Dec. 31, 2022
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
Nov. 09, 2022
$ / shares
Oct. 05, 2022
USD ($)
Debt Conversion [Line Items]                          
Purchase price of common stock, percent           110.00% 95.00% 120.00%          
Aggregate fair value $ 17,200                 $ 17,200      
Interest (expense) income                   (2,249) $ 103    
Non-cash debt discount                   $ 900 $ 0    
Pre-paid Purchase Agreement, Early Repayment Notice, Number of Trading Days | $ / shares                   10      
Common Stock                          
Debt Conversion [Line Items]                          
Purchase share price (in dollars per share) | $ / shares                 $ 3.65     $ 1.11  
Pre Paid Advance Agreement Member                          
Debt Conversion [Line Items]                          
Redemption premium 3.00%                 3.00%      
Y A I I P N Ltd                          
Debt Conversion [Line Items]                          
Pre-paid advance agreement, in cash advances               $ 50,000          
Pre-paid advance agreement, in cash advances               $ 300,000          
Purchase share price (in dollars per share) | $ / shares           $ 0.50   $ 1.00          
Pre-paid advance agreement, annual rate                 5.00%        
Pre-paid advance agreement, increase upon to default                 15.00%        
Interest (expense) income                   $ 2,300      
Other Noncash Income (Expense)                   400      
Amortization of debt issuance costs                   1,000      
Non-cash debt discount                   900      
Y A I I P N Ltd | First Pre Paid Advance Agreement Member                          
Debt Conversion [Line Items]                          
Proceeds from prepaid advance agreement           $ 49,500              
Y A I I P N Ltd | First Pre Paid Advance Agreement Member | Common Stock                          
Debt Conversion [Line Items]                          
Issuance of shares - SEPA and PIPE (in shares) | shares         15,100                
Y A I I P N Ltd | Second Pre Paid Advance Agreement Member                          
Debt Conversion [Line Items]                          
Proceeds from prepaid advance agreement           $ 39,600              
Y A I I P N Ltd | Side Letter To Pre Paid Advance Agreement Member                          
Debt Conversion [Line Items]                          
Pre-paid advance to minimum of settlement                         $ 1,000
Y A I I P N Ltd | Third Pre Paid Advance Agreement Member                          
Debt Conversion [Line Items]                          
Proceeds from prepaid advance agreement     $ 20,000                    
Y A I I P N Ltd | Fourth Pre Paid Advance Agreement Member                          
Debt Conversion [Line Items]                          
Proceeds from prepaid advance agreement $ 32,000                        
Proceeds from additional amount of prepaid advance agreement 8,500                        
Aggregate fair value $ 14,800                 $ 14,800      
Y A I I P N Ltd | Common Stock                          
Debt Conversion [Line Items]                          
Exchange cap, maximum ownership percent                 19.90%        
Issuance of shares - SEPA and PIPE (in shares) | shares                   14,200      
Y A I I P N Ltd | Common Stock | Pre Paid Advance Agreement Member                          
Debt Conversion [Line Items]                          
Issuance of shares - SEPA and PIPE (in shares) | shares   19,400   0