Leases (Tables)
12 Months Ended
Dec. 31, 2022
Leases [Abstract]  
Schedule of minimum lease payments under the Company's operating leases
As of December 31, 2022, minimum lease payments under the Company’s operating leases are as follows (in thousands):
Year ending December 31,
2023$1,100
2024
2025
2026
2027
Thereafter
1,100
Less: imputed interest— 
$1,100
Schedule of lease cost and lease liabilities for the Company's lease portfolio The components of lease cost and supplemental balance sheet information for the Company’s lease portfolio were as follows (in thousands, except term and discount rate amounts):
Year ended December 31,
202220212020
Lease cost:
Operating lease cost$12,655 $8,173 $9,240 
Short-term lease cost— 41 24 
Variable lease cost3,058 3,723 1,916 
Sublease income— (719)(1,017)
Total lease cost$15,713 $11,218 $10,163 
Operating leases:
Operating lease, right-of-use-asset$2,679 $35,095 $40,447 
Operating lease liabilities$1,100 $9,015 $8,945 
Operating lease liabilities, net of current portion$— $28,291 $32,762 
Other information:
Weighted average remaining lease term - operating leases0.08 years5.80 years6.70 years
Weighted-average discount rate - operating leases— %7.60 %7.60 %