XML 49 R38.htm IDEA: XBRL DOCUMENT v3.21.1
Summary of Accounting Policies - Schedule of New Accounting Pronouncements & Changes in Accounting Principle (Details) - USD ($)
$ in Thousands
Mar. 31, 2021
Jan. 01, 2021
Dec. 31, 2020
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Convertible senior notes, net $ 23,428 $ 25,205 $ 22,482
Convertible senior notes, net, noncurrent 1,136,974 648,023 488,268
Additional paid-in capital 641,702 690,316 860,556
Accumulated deficit $ (298,335) (262,551) $ (270,313)
Revision of Prior Period, Adjustment      
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