XML 41 R32.htm IDEA: XBRL DOCUMENT v3.22.2.2
Cash, Cash Equivalents and Restricted Cash (Tables)
9 Months Ended
Sep. 30, 2022
Cash and Cash Equivalents [Abstract]  
Schedule of cash and cash equivalents

Cash, cash equivalents and restricted cash as of December 31, 2021 and September 30, 2022 consisted of the following (in thousands):

​

​

​

​

​

​

​

​

​

    

December 31, 

    

September 30, 

​

​

2021

​

2022

Current assets:

 

​

  

 

​

  

Cash and cash equivalents

​

$

99,448

​

$

23,123

Total cash and cash equivalents

​

$

99,448

​

$

23,123

​

​

​

​

​

​

​

Long-term assets:

​

 

  

​

 

  

Restricted cash - held as collateral

​

$

7,008

​

$

—

Total restricted cash

​

$

7,008

​

$

—

​

​

​

​

​

​

​

Total cash, cash equivalents and restricted cash

​

$

106,456

​

$

23,123

Schedule of components of restricted cash

Cash, cash equivalents and restricted cash as of December 31, 2021 and September 30, 2022 consisted of the following (in thousands):

​

​

​

​

​

​

​

​

​

    

December 31, 

    

September 30, 

​

​

2021

​

2022

Current assets:

 

​

  

 

​

  

Cash and cash equivalents

​

$

99,448

​

$

23,123

Total cash and cash equivalents

​

$

99,448

​

$

23,123

​

​

​

​

​

​

​

Long-term assets:

​

 

  

​

 

  

Restricted cash - held as collateral

​

$

7,008

​

$

—

Total restricted cash

​

$

7,008

​

$

—

​

​

​

​

​

​

​

Total cash, cash equivalents and restricted cash

​

$

106,456

​

$

23,123