v3.21.2
Convertible Senior Notes - Schedule of Convertible 2026 Notes (Details) - Convertible Senior Notes Due June 2026 - Convertible Debt - USD ($)
$ in Thousands
Sep. 30, 2021
Dec. 31, 2020
Debt Instrument [Line Items]    
Principal $ 316,250 $ 316,250
Unamortized debt discount (59,756) (67,977)
Unamortized debt issuance costs (4,489) (5,114)
Carrying value 252,005 243,159
Net carrying amount    
Debt Instrument [Line Items]    
Net carrying amount $ 81,550 $ 81,550