I want to compute the arithmetic genus of the complete intersection of two quadrics in $\mathbb{P}^3$. I know the adjunction formula is one way of doing this, but I am keen to understand where my approach is failing (I know it is failing because I expect to get $1$ as the genus, but I am getting $0$).
My definition of arithmetic genus is $p_a(X) := (-1)^{\text{dim }X}(\chi(\mathscr{O}_X) - 1)$. For $X$ an irreducible projective curve, this turns out to be $h^1(X,\mathscr{O}_X)$.
Here is my approach: let $C := Q_1\cap Q_2$ (with inclusion $i : C \hookrightarrow \mathbb{P}^3$) be the complete intersection of two quadrics in $\mathbb{P}^3$. Assume everything is over an algebraically closed field $k$. Since $C$ is a complete intersection, the ideal sheaf $\mathscr{I}_C$ is isomorphic to $\mathscr{I}_{Q_1} + \mathscr{I}_{Q_2}$ (by Hartshorne II. Ex. 8.4). Further, we know that since $Q_1$ and $Q_2$ are hypersurfaces, $\mathscr{I}_{Q_i} \cong \mathscr{O}_{\mathbb{P}^3}(-2)$. So $\mathscr{I}_C \cong \mathscr{O}_{\mathbb{P}^3}(-2)^{\oplus 2}$. We then look at the short exact sequence of sheaves on $\mathbb{P}^3$ corresponding to the closed subscheme $C$: $$ 0 \rightarrow \mathscr{I}_C = \mathscr{O}_{\mathbb{P}^3}(-2)^{\oplus 2} \rightarrow \mathscr{O}_{\mathbb{P}^3} \rightarrow i_*\mathscr{O}_C \rightarrow 0 $$
Taking cohomology, we know that $H^i(\mathscr{O}_{\mathbb{P}^3}) = 0$ for $i = 1,2$ which leaves us with $H^1(i_*\mathscr{O}_C) \cong H^2(\mathscr{O}_{\mathbb{P}^3}(-2))^{\oplus 2}$. But I know that the latter is $0$, which means that $h^1(\mathscr{O}_C) = 0$. But this doesn't make sense since I know $C$ should be a quartic elliptic curve which implies $h^1(\mathscr{O}_C) = 1$.
What is the problem here?