> AFAIK it's the same in the USA

It varies by state in the USA. Some states have strong protections for work you do "on your own time, on your own equipment, that isn't connected to your work." Others, not so much...