XML 56 R40.htm IDEA: XBRL DOCUMENT v3.20.4
Description of Business and Summary of Significant Accounting Policies - Schedule of New Accounting Pronouncements & Changes in Accounting Principle (Details) - USD ($)
$ in Thousands
Jan. 01, 2021
Dec. 31, 2020
Dec. 31, 2019
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Convertible senior notes, net   $ 22,482 $ 0
Convertible senior notes, net, noncurrent   488,268 119,716
Additional paid-in capital   860,556 583,097
Accumulated deficit   $ (270,313) $ (251,786)
Subsequent Event      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Convertible senior notes, net $ 25,205    
Convertible senior notes, net, noncurrent 648,023    
Additional paid-in capital 690,316    
Accumulated deficit (262,551)    
Restatement Adjustment | Subsequent Event      
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