I am considering the following series expansion: $$f(k):=\sum_{n\geq 1} e^{-k n^2}$$ with $k>0$ a fixed parameter. Is there a possibility to either find a closed form expression for $f(k)$? Or at least an upperbound of the type $|f(k)|\leq \frac{C}{k^p}$ for some constant $C$ and power $p$?
Thanks in advance!