XML 50 R40.htm IDEA: XBRL DOCUMENT v3.22.2
Summary of Significant Accounting Policies - Recently Issued Accounting Pronouncements (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 01, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Mar. 31, 2022
Dec. 31, 2021
Mar. 31, 2021
Dec. 31, 2020
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Stockholders' equity attributable to parent   $ (785,579) $ (841,434) $ (785,579) $ (828,446) $ (815,851) $ (754,444) $ (744,858)
Convertible notes (in shares)   0 6,783,936 0        
Convertible Debt                
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Long-term debt     $ 400,909     379,252    
Retained Earnings                
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Stockholders' equity attributable to parent   $ (355,918) (454,015) $ (355,918) (446,150) (379,922) (332,192) (326,498)
Additional  Paid-in Capital                
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Stockholders' equity attributable to parent   $ (424,175) $ (389,586) $ (424,175) $ (383,016) (434,337) $ (415,950) $ (409,332)
Cumulative effect of adoption of ASU 2020-06                
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Stockholders' equity attributable to parent           15,600    
Cumulative effect of adoption of ASU 2020-06 | Retained Earnings                
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Stockholders' equity attributable to parent           (40,612)    
Cumulative effect of adoption of ASU 2020-06 | Additional  Paid-in Capital                
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Stockholders' equity attributable to parent           $ 56,212    
Accounting Standards Update 2020-06                
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Long-term debt $ 20,600              
Deferred tax liabilities, net $ 5,000              
Accounting Standards Update 2020-06 | Convertible Debt                
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Convertible notes (in shares) 6,800,000   6,800,000          
Accounting Standards Update 2020-06 | Cumulative effect of adoption of ASU 2020-06 | Retained Earnings                
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Stockholders' equity attributable to parent $ (40,600)              
Accounting Standards Update 2020-06 | Cumulative effect of adoption of ASU 2020-06 | Additional  Paid-in Capital                
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Stockholders' equity attributable to parent $ 56,200