Here’s the science behind A Perfect Dog Bed