XML 53 R43.htm IDEA: XBRL DOCUMENT v3.21.2
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Recent Accounting Pronouncements (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Feb. 29, 2020
Mar. 31, 2019
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Jun. 30, 2021
Mar. 31, 2021
Dec. 31, 2020
Jun. 30, 2020
Mar. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                          
Stockholders' equity     $ 3,457,590 $ 1,730,686 $ 3,457,590 $ 1,730,686 $ 3,559,101 $ 3,648,995 $ 2,235,552 $ 1,887,433 $ 1,895,843 $ 1,957,639  
Increase in current portion of convertible notes     313,104   313,104       312,716        
Increase in convertible notes, net     1,865,647   1,865,647       1,861,685        
Interest income (expense)     (4,680) (4,478) (13,948) (63,382)              
Tax expense (benefit)     $ (3,858) $ (2,752) $ (242,638) $ (5,294)              
Increase (decrease) in net loss per share (in usd per share)     $ (0.97) $ (1.35) $ (2.19) $ (2.71)              
Increase (decrease) in net loss per share (in usd per share)     $ (0.97) $ (1.35) $ (2.19) $ (2.71)              
Loss on settlement of convertible notes $ 50,800 $ 187,700 $ 0 $ 0 $ 0 $ 50,819              
Additional Paid-In Capital                          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                          
Stockholders' equity     5,876,644 3,355,660 5,876,644 3,355,660 5,811,286 5,723,977 4,279,327 3,309,468 3,252,998 3,178,552  
Accumulated Deficit​                          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                          
Stockholders' equity     $ (2,420,910) (1,627,563) $ (2,420,910) (1,627,563) $ (2,253,972) $ (2,077,060) (2,045,896) $ (1,425,025) $ (1,356,933) (1,222,290)  
2025 notes                          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                          
Loss on settlement of convertible notes           42,900              
Extinguishment of debt, amount           100,000              
Cumulative Effect, Period of Adoption, Adjustment                          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                          
Deferred tax assets, net                 146,000     83,200 $ 55,700
Deferred tax assets, valuation allowance                 135,800     74,700 55,700
Deferred tax liability                 (10,200)     (8,500)  
Increase in current portion of convertible notes                 57,300        
Increase in convertible notes, net                 540,900        
Interest income (expense)       19,100   8,300              
Tax expense (benefit)       $ 1,800   $ (1,800)              
Increase (decrease) in net loss per share (in usd per share)       $ 0.12   $ (0.04)              
Increase (decrease) in net loss per share (in usd per share)       $ 0.12   $ (0.04)              
Decrease in amortization debt discount           $ 51,200              
Cumulative Effect, Period of Adoption, Adjustment | Additional Paid-In Capital                          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                          
Stockholders' equity                 (510,300)     (227,800) (260,200)
Cumulative Effect, Period of Adoption, Adjustment | Accumulated Deficit​                          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                          
Stockholders' equity                 $ (77,700)     $ (102,600) $ 26,600