XML 121 R40.htm IDEA: XBRL DOCUMENT v3.22.2
Summary of Significant Accounting Policies - Condensed Consolidated Balance Sheet (Details) - USD ($)
$ in Thousands
Jun. 30, 2022
Jan. 01, 2022
Dec. 31, 2021
Product Information [Line Items]      
Convertible notes, net of discount $ 392,837 $ 391,618 $ 316,354
Additional paid-in capital 1,867,924 1,603,260 1,691,206
Accumulated deficit $ (1,253,459) $ (996,611) (1,009,293)
Previously reported      
Product Information [Line Items]      
Convertible notes, net of discount     316,354
Additional paid-in capital     1,691,206
Accumulated deficit     (1,009,293)
Revision of prior period, adjustment      
Product Information [Line Items]      
Convertible notes, net of discount     75,264
Additional paid-in capital     (87,946)
Accumulated deficit     $ 12,682