FYI: In the bond market, there's a handy rule of thumb: When interest rates are rising, you want to be in short-term bonds; when rates are falling, you want to be in long-term bonds.
However, if you don't know what the heck will happen with rates, intermediate-term bonds can offer a best-of-both-worlds sweet spot, as they offer better yields than shorter-term, with less interest rate risk than longer-term.
Regards,
Ted
https://www.etf.com/sections/features-and-news/etf-week-yield-curves-sweet-spot