XML 47 R33.htm IDEA: XBRL DOCUMENT v3.21.1
Description of Business and Summary of Significant Accounting Policies - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2021
Jan. 01, 2021
Dec. 31, 2020
Description Of Business And Summary Of Significant Accounting Policies [Line Items]      
Accumulated deficit $ (8,083,393)   $ (7,891,542)
Additional paid-in capital 9,777,646   10,200,141
Convertible senior notes, net $ 2,245,203   $ 1,675,169
Accounting Standards Update 2020-06      
Description Of Business And Summary Of Significant Accounting Policies [Line Items]      
Change in accounting principle, accounting standards update, adoption date Jan. 01, 2021    
Change in accounting principle, accounting standards update, early adoption [true false] true    
Change in accounting principle, accounting standards update, transition option elected snap:AccountingStandardsUpdate202006RetrospectiveMember    
Change in accounting principle, accounting standards update, adopted [true false] true    
Accounting Standards Update 2020-06 | Revision of Prior Period, Accounting Standards Update, Adjustment      
Description Of Business And Summary Of Significant Accounting Policies [Line Items]      
Accumulated deficit   $ (95,000)  
Additional paid-in capital   (664,000)  
Convertible senior notes, net   $ 569,000  
Accounting Standards Update 2020-01      
Description Of Business And Summary Of Significant Accounting Policies [Line Items]      
Change in accounting principle, accounting standards update, adoption date Jan. 01, 2021    
Change in accounting principle, accounting standards update, transition option elected snap:AccountingStandardsUpdate202001ProspectiveMember    
Change in accounting principle, accounting standards update, adopted [true false] true    
Change in accounting principle, accounting standards update, immaterial effect [true false] true