XML 45 R35.htm IDEA: XBRL DOCUMENT v3.21.2
DESCRIPTION OF BUSINESS AND BASIS OF PRESENTATION (Details)
$ in Thousands
9 Months Ended
Sep. 30, 2021
USD ($)
segment
Jun. 30, 2021
USD ($)
Mar. 31, 2021
USD ($)
Jan. 01, 2021
USD ($)
Dec. 31, 2020
USD ($)
Sep. 30, 2020
USD ($)
Jun. 30, 2020
USD ($)
Mar. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Organization, Consolidation and Presentation of Financial Statements [Abstract]                  
Number of operating segments | segment 2                
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                  
Stockholders' equity $ 149,497 $ 55,836 $ 65,620   $ 107,674 $ 98,523 $ 117,484 $ 191,507 $ 395,046
Convertible senior notes, net $ 223,028       229,490        
Convertible senior notes due 2022 | Senior Notes                  
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                  
Effective interest rate 3.76%                
Additional Paid-In Capital                  
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                  
Stockholders' equity $ 2,266,489 2,257,613 2,261,095   2,348,114 2,338,432 2,329,599 2,323,217 2,310,393
Accumulated Deficit                  
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                  
Stockholders' equity $ (1,183,558) $ (1,261,665) $ (1,258,283)   (1,320,886) $ (1,334,864) $ (1,318,594) $ (1,246,477) (1,032,876)
Cumulative Effect, Period of Adoption, Adjustment                  
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                  
Stockholders' equity         (18,969)       (79)
Cumulative Effect, Period of Adoption, Adjustment | Accounting Standards Update 2020-06                  
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                  
Convertible senior notes, net       $ 19,000          
Cumulative Effect, Period of Adoption, Adjustment | Additional Paid-In Capital                  
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                  
Stockholders' equity         (67,014)        
Cumulative Effect, Period of Adoption, Adjustment | Additional Paid-In Capital | Accounting Standards Update 2020-06                  
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                  
Stockholders' equity       (67,000)          
Cumulative Effect, Period of Adoption, Adjustment | Accumulated Deficit                  
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                  
Stockholders' equity         $ 48,045       $ (79)
Cumulative Effect, Period of Adoption, Adjustment | Accumulated Deficit | Accounting Standards Update 2020-06                  
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                  
Stockholders' equity       $ 48,000