v3.22.2.2
Convertible Notes - Schedule of Interest Expense (Details) - 2.50% Convertible notes due 2023 - Convertible notes - 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]        
Contractual coupon interest $ 79 $ 1,024 $ 1,528 $ 3,168
Amortization of debt issuance costs 121 185 386 539
Amortization of the debt discount 0 2,987 0 8,711
Total interest expense on convertible notes $ 200 $ 4,196 $ 1,914 $ 12,418