v3.22.2.2
Summary of Significant Accounting Policies - Recently Issued Accounting Pronouncements (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jan. 01, 2022
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Jun. 30, 2022
Mar. 31, 2022
Dec. 31, 2021
Jun. 30, 2021
Mar. 31, 2021
Dec. 31, 2020
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                      
Stockholders' equity attributable to parent   $ (852,798) $ (810,468) $ (852,798) $ (810,468) $ (841,434) $ (828,446) $ (815,851) $ (785,579) $ (754,444) $ (744,858)
Convertible notes (in shares)   0 0 6,783,936 0            
Convertible Debt                      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                      
Long-term debt   $ 401,438   $ 401,438       379,252      
Retained Earnings                      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                      
Stockholders' equity attributable to parent   (455,764) $ (377,480) (455,764) $ (377,480) (454,015) (446,150) (379,922) (355,918) (332,192) (326,498)
Additional  Paid-in Capital                      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                      
Stockholders' equity attributable to parent   $ (401,026) $ (428,726) $ (401,026) $ (428,726) $ (389,586) $ (383,016) (434,337) $ (424,175) $ (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