Longitudinal double-spin asymmetry A1pand spin-dependent structure function g1pof the proton at small values of x and Q2