Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Narrative (Details)

v3.22.2
Fair Value Measurements - Narrative (Details) - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Dec. 31, 2021
Fair Value Measurements      
Fair market value adjustment to contingent consideration liability $ 0 $ (140)  
Convertible Notes due 2023      
Fair Value Measurements      
Debt instrument, fair value disclosure 349,800   $ 439,900
Convertible Notes due 2023 | Carrying Value      
Fair Value Measurements      
Convertible notes 343,100   342,000
Convertible Notes due 2025      
Fair Value Measurements      
Debt instrument, fair value disclosure 451,500   526,100
Convertible Notes due 2025 | Carrying Value      
Fair Value Measurements      
Convertible notes $ 508,300   506,800
Private A I Company Acquisition      
Fair Value Measurements      
Fair market value adjustment to contingent consideration liability     $ 700