v3.22.2.2
Debt - Liability for Sale of Future Royalties (Details) - USD ($)
$ in Thousands
1 Months Ended 9 Months Ended
Jul. 31, 2020
Sep. 30, 2022
Debt Disclosure [Abstract]    
Proceeds from sale of future royalties $ 650,000  
Beginning balance   $ 733,985
Less: Non-cash royalty revenue payable to RPI   (31,617)
Plus: non-cash interest expense recognized   55,778
Ending balance   $ 758,146
Effective interest rate of the liability component 11.00% 9.40%