v3.22.2.2
SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
USD ($)
Sep. 30, 2021
USD ($)
Sep. 30, 2022
USD ($)
Sep. 30, 2021
USD ($)
Jun. 30, 2022
USD ($)
Jan. 01, 2022
USD ($)
Dec. 31, 2021
USD ($)
Jul. 23, 2021
Jun. 30, 2021
USD ($)
Dec. 31, 2020
USD ($)
Significant Accounting Policies [Line Items]                    
Exchange ratio               160.3    
Revenue recognized $ 722 $ 60 $ 550 $ 1,381            
Operating lease right-of-use assets 15,509   15,509     $ 18,826 $ 0      
Present value of operating lease liabilities 15,432   15,432     18,776        
Operating lease liabilities, current 1,902   1,902       0      
Stockholders' equity, including portion attributable to noncontrolling interest 615,856 716,784 615,856 716,784 $ 654,004   686,698   $ (451,306) $ (384,602)
Accumulated deficit                    
Significant Accounting Policies [Line Items]                    
Stockholders' equity, including portion attributable to noncontrolling interest $ (757,467) $ (585,460) $ (757,467) $ (585,460) $ (720,923)   $ (632,099)   $ (465,457) $ (397,996)
Cumulative Effect, Period of Adoption, Adjustment                    
Significant Accounting Policies [Line Items]                    
Stockholders' equity, including portion attributable to noncontrolling interest           (866)        
Cumulative Effect, Period of Adoption, Adjustment | Accumulated deficit                    
Significant Accounting Policies [Line Items]                    
Stockholders' equity, including portion attributable to noncontrolling interest           $ (866)