How much should I spend to win a new customer?

A common rule is up to a third of lifetime value, adjusted for how long you can wait for repeat orders and how steady your cash flow is.