XML 43 R33.htm IDEA: XBRL DOCUMENT v3.21.2
DESCRIPTION OF BUSINESS AND BASIS OF PRESENTATION (Details)
$ in Thousands
6 Months Ended
Jun. 30, 2021
USD ($)
segment
Mar. 31, 2021
USD ($)
Jan. 01, 2021
USD ($)
Dec. 31, 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 $ 55,836 $ 65,620   $ 107,674 $ 117,484 $ 191,507 $ 395,046
Convertible senior notes, net $ 222,654     229,490      
3.25% 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,257,613 2,261,095   2,348,114 2,329,599 2,323,217 2,310,393
Accumulated Deficit              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Stockholders' equity $ (1,261,665) $ (1,258,283)   (1,320,886) $ (1,318,594) $ (1,246,477) (1,032,876)
Cumulative effect of change in accounting principle              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Stockholders' equity       (18,969)     (79)
Cumulative effect of change in accounting principle | Accounting Standards Update 2020-06              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Convertible senior notes, net     $ 19,000        
Cumulative effect of change in accounting principle | Additional Paid-In Capital              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Stockholders' equity       (67,014)      
Cumulative effect of change in accounting principle | 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 of change in accounting principle | Accumulated Deficit              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Stockholders' equity       $ 48,045     $ (79)
Cumulative effect of change in accounting principle | Accumulated Deficit | Accounting Standards Update 2020-06              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Stockholders' equity     $ 48,000