v3.26.3
Employee Stock Benefit Plans (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2026
Sep. 30, 2025
Sep. 30, 2026
Sep. 30, 2025
Employee Stock Benefit Plans        
Total share-based compensation expense included in operating expenses $ 4,291 $ 3,612 $ 11,180 $ 13,427
Income tax expense (benefit) (1,230) (344) (525) 2,565
Total share-based compensation expense, net of tax 3,061 3,268 10,655 15,992
Location, Statement of Income, Balance [Axis]: us-gaap:ResearchAndDevelopmentExpense        
Employee Stock Benefit Plans        
Total share-based compensation expense included in operating expenses 2,059 1,270 5,030 4,158
Location, Statement of Income, Balance [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense        
Employee Stock Benefit Plans        
Total share-based compensation expense included in operating expenses $ 2,232 $ 2,342 $ 6,150 9,170
Location, Statement of Income, Balance [Axis]: irwd:RestructuringExpenseBenefit        
Employee Stock Benefit Plans        
Total share-based compensation expense included in operating expenses       $ 99