Debt - Notes (Details) - Convertible Senior Notes
$ in Thousands
May 31, 2021
USD ($)
Debt Instrument [Line Items]  
Principal $ 287,500
Unamortized issuance costs (8,066)
Net carrying amount $ 279,434