XML 46 R35.htm IDEA: XBRL DOCUMENT v3.21.2
Summary of Significant Accounting Policies - Accounting Pronouncements (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2021
Jun. 30, 2021
Mar. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Accumulated deficit $ (1,102,999) $ (1,102,999)   $ (929,318)  
Convertible Notes          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Interest expense 1,923 3,844      
Outstanding principle 287,500 287,500 $ 287,500    
Net carrying amount 279,777 279,777      
Previously reported          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Interest expense $ 2,300 $ 4,600      
Previously reported | Convertible Notes          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Outstanding principle       287,500  
Unamortized debt discount and issuance cost       (85,007)  
Net carrying amount       202,493  
Additional paid-in-capital       (1,411,286)  
Accumulated deficit       (929,318)  
ASU 2016-13          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Cumulative effect adjustment         $ 400
Accounting Standards Update 2020-06 | Convertible Notes          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Outstanding principle       287,500  
Unamortized debt discount and issuance cost       (8,333)  
Net carrying amount       279,167  
Additional paid-in-capital       (1,328,414)  
Accumulated deficit       (923,120)  
Accounting Standards Update 2020-06 | Adoption Adjustment          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Reduction in net loss from continuing operations per share $ 0.02 $ 0.05      
Accounting Standards Update 2020-06 | Adoption Adjustment | Convertible Notes          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Unamortized debt discount and issuance cost       76,674  
Net carrying amount       76,674  
Additional paid-in-capital       82,872  
Accumulated deficit       $ 6,198