Debt - Narrative (Details)
$ in Thousands
1 Months Ended 12 Months Ended
Oct. 13, 2022
USD ($)
Jun. 22, 2021
USD ($)
Dec. 21, 2018
USD ($)
tranche
Jun. 30, 2020
USD ($)
Jun. 30, 2019
USD ($)
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Debt Instrument [Line Items]                
Gain on debt extinguishment           $ 1,128 $ 0 $ 0
Loan Agreement                
Debt Instrument [Line Items]                
Maximum amount outstanding     $ 75,000          
Number of tranche | tranche     3          
Principal amount of each tranche of term loans     $ 25,000          
Borrowing     $ 25,000 $ 25,000 $ 25,000      
Principal amount   $ 35,000            
Interest rate (as a percent)   5.50%            
One-month LIBOR   one-month            
Prepayment fee in first year   1.00%            
Prepayment fee in second year   0.50%            
Prepayment fee in third year   0.25%            
Issuance costs   $ 200            
Repayments of long-term debt $ 75,700              
Gain on debt extinguishment           $ 1,100    
Minimum | Loan Agreement                
Debt Instrument [Line Items]                
Variable interest rate   2.10%            
One-month U.S. LIBOR | Loan Agreement                
Debt Instrument [Line Items]                
Variable interest rate   0.00%            
One-month U.S. LIBOR | Maximum | Loan Agreement                
Debt Instrument [Line Items]                
Variable interest rate   2.10%