To work for a local company in Spain, you will need employer sponsorship for the Highly Skilled Worker Visa.
Cost of Living $2,200 USD / mo
Average Local Salary $5,400 USD / mo
Local Income Tax Standard progressive local tax scales
Visa Option Highly Skilled Worker Visa