Can I ask how are you dealing with taxes, working for a US company in Spain? Are you contracting your SWE services and billing them? Or are you an employee of the US company?
Some employees even have premiums for putting their hand in your pocket. So yea, it may be more expensive but the peace of mind that gives you for offloading all of that to someone else is priceless.