It's also worth noting that many "12 volt" DC batteries do not store and output at exactly 12 volts.
Depending on the tolerances of your board, you might want to throw a buck converter in the circuit and set the output voltage set to exactly 12 volts to account for any potential over-voltage coming from the battery/panel setup.
They are pretty cheap if you want to DIY (7 for $10 on Amazon). Worth the peace of mind, imo.
I imagine this is what most car-laptop chargers are, but with branded packaging.