XML 58 R45.htm IDEA: XBRL DOCUMENT v3.22.4
Summary of Significant Accounting Policies - Adjustments Made to the Condensed Consolidated Balance Sheet (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Convertible notes, net of discount $ 394,094 $ 316,354
Additional paid-in capital 1,972,006 1,691,206
Accumulated deficit $ (1,558,088) (1,009,293)
Cumulative Effect, Period of Adoption, Adjustment    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Convertible notes, net of discount   75,264
Additional paid-in capital   (87,946)
Accumulated deficit   12,682
Cumulative Effect, Period of Adoption, Adjusted Balance    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Convertible notes, net of discount   391,618
Additional paid-in capital   1,603,260
Accumulated deficit   $ (996,611)