v3.22.2.2
Convertible Notes - Gain on Extinguishment (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Debt Instrument [Line Items]        
Gain on extinguishment of debt $ 0 $ 9,840 $ 3,565 $ 9,840
Exchange Agreement | 2.50% Convertible notes due 2023 | Convertible notes        
Debt Instrument [Line Items]        
Gain on extinguishment of debt $ 0 $ 4,999 $ 3,565 $ 4,999