I believe Thinkpads are famously easy to make work with Linux. I had one in college (a decade ago) and an x1 carbon when I was at Google (several years ago) and both of them were excellent (though the latter obviously would've had any kinks ironed out by the Goobuntu team).
My last couple laptops had better hardware (for my needs) than ThinkPads or Macbooks, but the occasional compatibility issue is enough that I'm thinking about switching back to Thinkpads.