XML 56 R40.htm IDEA: XBRL DOCUMENT v3.22.0.1
Description of Business and Summary of Significant Accounting Policies - Schedule of New Accounting Pronouncements & Changes in Accounting Principle (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Jan. 01, 2021
Dec. 31, 2020
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Convertible senior notes, net $ 23,280 $ 25,205 $ 22,482
Convertible senior notes, net, noncurrent 1,214,017 648,023 488,268
Additional paid-in capital 682,084 690,316 860,556
Accumulated deficit $ (372,164) (262,551) $ (270,313)
Measurement period Adjustments      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Convertible senior notes, net   2,723  
Convertible senior notes, net, noncurrent   159,755  
Additional paid-in capital   (170,240)  
Accumulated deficit   $ 7,762